mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
57 lines
1.8 KiB
Bash
57 lines
1.8 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=networkmanager
|
|
pkgver=0.8.4.0
|
|
pkgrel=1
|
|
pkgdesc="Network Management daemon"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://www.gnome.org/projects/NetworkManager/"
|
|
depends=('wireless_tools' 'iproute2>=2.6.35' 'libnl>=1.1' 'ppp' 'dhcpcd>=5.2.5' 'wpa_supplicant>=0.6.10' 'iptables>=1.4.9' 'nss>=3.12.6' 'polkit>=0.96' 'udev>=164')
|
|
makedepends=('intltool')
|
|
optdepends=('modemmanager: for modem management service')
|
|
options=('!libtool')
|
|
backup=('etc/NetworkManager/nm-system-settings.conf')
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/NetworkManager/0.8/NetworkManager-${pkgver}.tar.bz2
|
|
nm-system-settings.conf disable_set_hostname.patch)
|
|
sha256sums=('e71f2ed5b28b9d46566fbf573e43ee8553e60aa3f557dc61e07b9e198c657588'
|
|
'44b048804c7c0b8b3b0c29b8632b6ad613c397d0a1635ec918e10c0fbcdadf21'
|
|
'1e4586991bc96ef004dc520c794047a336c54433e0bd4edc3879fb6e7ab0e553')
|
|
|
|
build() {
|
|
cd "${srcdir}/NetworkManager-${pkgver}"
|
|
|
|
patch -Np1 -i "${srcdir}/disable_set_hostname.patch"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--libexecdir=/usr/lib/networkmanager \
|
|
--with-crypto=nss \
|
|
--with-distro=arch \
|
|
--with-dhclient=/usr/sbin/dhclient \
|
|
--with-dhcpcd=/sbin/dhcpcd \
|
|
--with-iptables=/usr/sbin/iptables \
|
|
--disable-static \
|
|
--enable-more-warnings=no \
|
|
--disable-wimax
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/NetworkManager-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -m644 "${srcdir}/nm-system-settings.conf" "${pkgdir}/etc/NetworkManager/"
|
|
|
|
rm -rf "${pkgdir}/var/run/"
|
|
} |