wok-current view network-manager/receipt @ rev 25187
mencoder: reordered recipe
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 12 10:44:40 2022 +0100 (2022-07-12) |
parents | d3eb5f4b53ea |
children |
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 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --libexecdir=/usr/lib/$PACKAGE \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --with-distro=arch \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib
41 cp -a $install/etc $fs
42 cp -a $install/var $fs
43 cp -a $install/usr/*bin $fs/usr
44 cp -a $install/usr/lib/pppd/2.4.5/*so $fs/usr/lib/pppd/2.4.5
45 cp -a $install/usr/lib/libnm*.so* $fs/usr/lib
46 cp -a $install/usr/lib/network-manager $fs/usr/lib
47 cp -a $install/usr/lib/NetworkManager $fs/usr/lib
48 cp -a $install/usr/share/dbus-1 $fs/usr/share
49 cp -a $install/usr/share/locale $fs/usr/share
50 cp -a $install/usr/share/polkit-1 $fs/usr/share
51 cp -a $install/lib/udev $fs/lib
52 }