# Description: Permet la gestion des réseaux sans fils
# URL: http://www.gnome.org/projects/NetworkManager/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: dbus-glib, iproute2, libnl, nss, polkit, wireless_tools, wpa_supplicant, ppp, iptables, intltool 
# Run on: dbus-glib,iproute2,libnl,nss,polkit,wireless_tools,wpa_supplicant,ppp,iptables,intltool 


name=networkmanager
version=0.8.9997
release=1
_name=NetworkManager
source=(http://ftp.acc.umu.se/pub/gnome/sources/${_name}/0.8/${_name}-$version.tar.xz )

build() {
	cd ${_name}-$version
	./configure --prefix=/usr \
		--with-distro=redhat \
    		--sysconfdir=/etc \
   	 	--localstatedir=/var \
    		--with-crypto=nss \
    		--with-dhclient=/usr/sbin/dhclient \
    		--with-dhcpcd=/sbin/dhcpcd \
    		--with-iptables=/usr/sbin/iptables \
    		--disable-static \
    		--enable-more-warnings=no \
    		--disable-wimax 
	make
	make DESTDIR=$PKG install
}