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

netsurf:some make opts
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jul 13 04:58:40 2014 +0300 (2014-07-13)
parents 60fdd50776c8
children d3eb5f4b53ea
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@12973 12 WGET_URL="$GNOME_MIRROR/$SOURCE/0.9/$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 cd $src
pascal@12973 22 ./configure \
pascal@12973 23 --prefix=/usr \
pascal@12973 24 --libexecdir=/usr/lib/$PACKAGE \
pascal@12973 25 --sysconfdir=/etc \
pascal@12973 26 --localstatedir=/var \
pascal@12973 27 --with-distro=arch \
pascal@12973 28 $CONFIGURE_ARGS &&
pascal@12973 29 make && make install
pascal@12973 30 }
pascal@12973 31
pascal@12973 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 33 genpkg_rules()
pascal@12973 34 {
pascal@16645 35 mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib
pascal@16645 36 cp -a $install/etc $fs
pascal@16645 37 cp -a $install/var $fs
mojo@15663 38 cp -a $install/usr/*bin $fs/usr
mojo@15665 39 cp -a $install/usr/lib/pppd/2.4.5/*so $fs/usr/lib/pppd/2.4.5
mojo@15665 40 cp -a $install/usr/lib/libnm*.so* $fs/usr/lib
mojo@15663 41 cp -a $install/usr/lib/network-manager $fs/usr/lib
pascal@16645 42 cp -a $install/usr/lib/NetworkManager $fs/usr/lib
mojo@15663 43 cp -a $install/usr/share/dbus-1 $fs/usr/share
mojo@15663 44 cp -a $install/usr/share/locale $fs/usr/share
mojo@15663 45 cp -a $install/usr/share/polkit-1 $fs/usr/share
mojo@15663 46 cp -a $install/lib/udev $fs/lib
pascal@12973 47 }