rev |
line source |
pascal@12973
|
1 # SliTaz package receipt.
|
pascal@12973
|
2
|
pascal@12973
|
3 PACKAGE="network-manager"
|
pascal@16645
|
4 VERSION="0.9.8.10"
|
pascal@12973
|
5 CATEGORY="system-tools"
|
pascal@12973
|
6 SHORT_DESC="Gnome network manager."
|
pascal@12973
|
7 MAINTAINER="pankso@slitaz.org"
|
pascal@15002
|
8 LICENSE="GPL2"
|
pascal@12973
|
9 SOURCE="NetworkManager"
|
pascal@16645
|
10 TARBALL="$SOURCE-$VERSION.tar.xz"
|
pascal@12973
|
11 WEB_SITE="http://projects.gnome.org/NetworkManager/"
|
pascal@17869
|
12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*.*}/$TARBALL"
|
pascal@12973
|
13
|
mojo@15665
|
14 DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables dhcp-client"
|
pascal@12973
|
15 BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
|
mojo@15665
|
16 libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev dhcp-client"
|
pascal@12973
|
17
|
pascal@12973
|
18 # Rules to configure and make the package.
|
pascal@12973
|
19 compile_rules()
|
pascal@12973
|
20 {
|
pascal@12973
|
21 ./configure \
|
pascal@12973
|
22 --prefix=/usr \
|
pascal@12973
|
23 --libexecdir=/usr/lib/$PACKAGE \
|
pascal@12973
|
24 --sysconfdir=/etc \
|
pascal@12973
|
25 --localstatedir=/var \
|
pascal@12973
|
26 --with-distro=arch \
|
pascal@12973
|
27 $CONFIGURE_ARGS &&
|
pascal@12973
|
28 make && make install
|
pascal@12973
|
29 }
|
pascal@12973
|
30
|
pascal@12973
|
31 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@12973
|
32 genpkg_rules()
|
pascal@12973
|
33 {
|
pascal@16645
|
34 mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib
|
pascal@16645
|
35 cp -a $install/etc $fs
|
pascal@16645
|
36 cp -a $install/var $fs
|
mojo@15663
|
37 cp -a $install/usr/*bin $fs/usr
|
mojo@15665
|
38 cp -a $install/usr/lib/pppd/2.4.5/*so $fs/usr/lib/pppd/2.4.5
|
mojo@15665
|
39 cp -a $install/usr/lib/libnm*.so* $fs/usr/lib
|
mojo@15663
|
40 cp -a $install/usr/lib/network-manager $fs/usr/lib
|
pascal@16645
|
41 cp -a $install/usr/lib/NetworkManager $fs/usr/lib
|
mojo@15663
|
42 cp -a $install/usr/share/dbus-1 $fs/usr/share
|
mojo@15663
|
43 cp -a $install/usr/share/locale $fs/usr/share
|
mojo@15663
|
44 cp -a $install/usr/share/polkit-1 $fs/usr/share
|
mojo@15663
|
45 cp -a $install/lib/udev $fs/lib
|
pascal@12973
|
46 }
|