wok-6.x annotate lxnetdaemon/receipt @ rev 1630
Up tazpkg (2.4.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 20:29:40 2008 +0000 (2008-10-23) |
parents | |
children | d04823a784db |
rev | line source |
---|---|
pankso@487 | 1 # SliTaz package receipt. |
pankso@487 | 2 |
pankso@487 | 3 PACKAGE="lxnetdaemon" |
pankso@487 | 4 VERSION="0.1.1" |
pankso@487 | 5 CATEGORY="network" |
pankso@487 | 6 SHORT_DESC="Network manager for LXpanel." |
pankso@487 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@487 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@487 | 9 WEB_SITE="http://lxde.sourceforge.net/" |
pankso@487 | 10 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@487 | 11 |
pankso@487 | 12 # Rules to configure and make the package. |
pankso@487 | 13 compile_rules() |
pankso@487 | 14 { |
pankso@487 | 15 cd $src |
pankso@487 | 16 ./configure \ |
pankso@487 | 17 --prefix=/usr \ |
pankso@487 | 18 $CONFIGURE_ARGS |
pankso@487 | 19 make |
pankso@487 | 20 make DESTDIR=$PWD/_pkg install |
pankso@487 | 21 echo "Continue..." |
pankso@487 | 22 } |
pankso@487 | 23 |
pankso@487 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@487 | 25 genpkg_rules() |
pankso@487 | 26 { |
pankso@487 | 27 mkdir -p $fs/usr/share |
pankso@487 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@487 | 29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@487 | 30 chmod +x $fs/usr/share/$PACKAGE/*.sh |
pankso@487 | 31 # Config |
pankso@487 | 32 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon |
pankso@487 | 33 cp -a stuff/etc $fs |
pankso@487 | 34 } |