wok view network-manager/receipt @ rev 18035
Up: tazpanel (480), tazpkg (802)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 09 21:58:06 2015 +0200 (2015-05-09) |
parents | 792f05a01cad |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="network-manager"
4 VERSION="0.9.8.10"
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.xz"
11 WEB_SITE="http://projects.gnome.org/NetworkManager/"
12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*.*}/$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 ./configure \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --with-distro=arch \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib
35 cp -a $install/etc $fs
36 cp -a $install/var $fs
37 cp -a $install/usr/*bin $fs/usr
38 cp -a $install/usr/lib/pppd/2.4.5/*so $fs/usr/lib/pppd/2.4.5
39 cp -a $install/usr/lib/libnm*.so* $fs/usr/lib
40 cp -a $install/usr/lib/network-manager $fs/usr/lib
41 cp -a $install/usr/lib/NetworkManager $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/lib/udev $fs/lib
46 }