2010-04-12 23:44:24 +00:00
|
|
|
# Template file for 'NetworkManager'
|
|
|
|
pkgname=NetworkManager
|
2012-10-27 07:21:53 +00:00
|
|
|
version=0.9.6.4
|
2013-02-12 09:43:25 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-16 17:46:38 +00:00
|
|
|
configure_args="--with-distro=gentoo
|
2012-10-27 07:21:53 +00:00
|
|
|
--with-dhcpcd=/usr/sbin/dhcpcd --with-dhclient=no --disable-wimax
|
|
|
|
--with-system-ca-path=/etc/ssl/certs --enable-more-warnings=no
|
|
|
|
--with-crypto=nss --disable-static --enable-ppp --enable-concheck
|
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
|
|
|
--with-session-tracking=systemd --with-udev-dir=/usr/lib/udev
|
|
|
|
--with-kernel-firmware-dir=/usr/lib/firmware
|
|
|
|
--with-pppd-plugin-dir=/usr/lib/pppd/2.4.5"
|
2013-02-12 09:43:25 +00:00
|
|
|
makedepends="pkg-config intltool automake gobject-introspection libuuid-devel
|
2012-10-27 07:21:53 +00:00
|
|
|
nss-devel dbus-glib-devel libgudev-devel wireless_tools-devel libnl3-devel
|
|
|
|
polkit-devel ppp-devel iptables-devel libsoup-devel systemd-devel"
|
2012-07-20 09:00:23 +00:00
|
|
|
fulldepends="dbus>=0 iproute2 dhcpcd>=5.5.4_1 wpa_supplicant
|
2012-10-27 07:21:53 +00:00
|
|
|
mobile-broadband-provider-info"
|
2012-05-24 15:52:30 +00:00
|
|
|
systemd_services="${pkgname}.service on"
|
|
|
|
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
|
|
|
subpackages="$pkgname-devel libnm"
|
2010-04-12 23:44:24 +00:00
|
|
|
short_desc="Network Management daemon"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-27 19:36:11 +00:00
|
|
|
homepage="http://www.gnome.org/projects/NetworkManager/"
|
2011-10-29 10:05:21 +00:00
|
|
|
license="GPL-2"
|
2012-07-09 21:53:31 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
|
2012-10-27 07:21:53 +00:00
|
|
|
checksum=511b411e055d187bc8f26c519fdb3e55e07fc40d4adecbbec623c0249380a7eb
|
2010-04-12 23:44:24 +00:00
|
|
|
|
2012-07-14 21:32:40 +00:00
|
|
|
make_dirs="
|
|
|
|
/etc/NetworkManager/dispatcher.d 0755 root root
|
|
|
|
/etc/NetworkManager/system-connections 0755 root root
|
|
|
|
/var/lib/NetworkManager 0700 root root"
|
|
|
|
|
2013-02-12 09:43:25 +00:00
|
|
|
pre_configure() {
|
|
|
|
AUTOPOINT="intltoolize -f -c --automake" autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2012-01-28 16:30:30 +00:00
|
|
|
post_install() {
|
2010-04-12 23:44:24 +00:00
|
|
|
# Install config file.
|
2012-01-28 16:30:30 +00:00
|
|
|
vinstall ${FILESDIR}/${pkgname}.conf 644 etc/${pkgname}
|
2011-10-11 02:30:48 +00:00
|
|
|
rm -rf ${DESTDIR}/etc/init.d
|
2010-04-12 23:44:24 +00:00
|
|
|
}
|