wok-6.x annotate network-manager/receipt @ rev 15663

network-manager: remove dev and doc files
author Richard Dunbar <mojo@slitaz.org>
date Thu Dec 12 18:38:48 2013 +0000 (2013-12-12)
parents 13e77775cf22
children 60fdd50776c8
rev   line source
pascal@12973 1 # SliTaz package receipt.
pascal@12973 2
pascal@12973 3 PACKAGE="network-manager"
pascal@12973 4 VERSION="0.9.2.0"
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@12973 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@12973 11 WEB_SITE="http://projects.gnome.org/NetworkManager/"
pascal@12973 12 WGET_URL="$GNOME_MIRROR/$SOURCE/0.9/$TARBALL"
pascal@12973 13
pascal@12973 14 DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables"
pascal@12973 15 BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
pascal@15622 16 libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev"
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 {
mojo@15663 35 mkdir -p $fs/usr/lib $fs/usr/share $fs/etc $fs/lib
mojo@15663 36 cp -a $install/etc/rc.d $fs/etc
mojo@15663 37 cp -a $install/etc/dbus-1 $fs/etc
mojo@15663 38 cp -a $install/usr/*bin $fs/usr
mojo@15663 39 cp -a $install/usr/lib/pppd $fs/usr/lib
mojo@15663 40 cp -a $install/usr/lib/libnm* $fs/usr/lib
mojo@15663 41 cp -a $install/usr/lib/network-manager $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/usr/share/NetworkManager $fs/usr/share
mojo@15663 46 cp -a $install/lib/udev $fs/lib
pascal@12973 47 }