wok-next view network-manager/receipt @ rev 19276

get-vivaldi: fix rpm url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 05 16:47:32 2016 +0200 (2016-07-05)
parents 792f05a01cad
children 58744412e5b2
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 }