wok-current annotate network-manager/receipt @ rev 24377

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