wok-next view network-manager/receipt @ rev 16203
ARM: add PAM support
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 31 00:43:52 2014 +0200 (2014-03-31) |
parents | 32b55f861626 |
children | 792f05a01cad |
line source
1 # SliTaz package receipt.
3 PACKAGE="network-manager"
4 VERSION="0.9.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Gnome network manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="NetworkManager"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://projects.gnome.org/NetworkManager/"
12 WGET_URL="$GNOME_MIRROR/$SOURCE/0.9/$TARBALL"
14 DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables dhcp-client"
15 BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
16 libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev dhcp-client"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --with-distro=arch \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs/etc $fs/lib
36 cp -a $install/etc/rc.d $fs/etc
37 cp -a $install/etc/dbus-1 $fs/etc
38 cp -a $install/usr/*bin $fs/usr
39 cp -a $install/usr/lib/pppd/2.4.5/*so $fs/usr/lib/pppd/2.4.5
40 cp -a $install/usr/lib/libnm*.so* $fs/usr/lib
41 cp -a $install/usr/lib/network-manager $fs/usr/lib
42 cp -a $install/usr/share/dbus-1 $fs/usr/share
43 cp -a $install/usr/share/locale $fs/usr/share
44 cp -a $install/usr/share/polkit-1 $fs/usr/share
45 cp -a $install/usr/share/NetworkManager $fs/usr/share
46 cp -a $install/lib/udev $fs/lib
47 }