wok-stable annotate lxnetdaemon/receipt @ rev 8696
clamav: improve DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:06:39 2011 +0100 (2011-02-17) |
parents | d04823a784db |
children |
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" |
pascal@2474 | 11 DEPENDS="glib" |
pankso@487 | 12 |
pankso@487 | 13 # Rules to configure and make the package. |
pankso@487 | 14 compile_rules() |
pankso@487 | 15 { |
pankso@487 | 16 cd $src |
pascal@2505 | 17 sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \ |
pascal@2505 | 18 Makefile.in |
pankso@487 | 19 ./configure \ |
pankso@487 | 20 --prefix=/usr \ |
pascal@2474 | 21 $CONFIGURE_ARGS && |
pascal@2474 | 22 make && |
pankso@487 | 23 make DESTDIR=$PWD/_pkg install |
pankso@487 | 24 } |
pankso@487 | 25 |
pankso@487 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@487 | 27 genpkg_rules() |
pankso@487 | 28 { |
pankso@487 | 29 mkdir -p $fs/usr/share |
pankso@487 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@487 | 31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@487 | 32 chmod +x $fs/usr/share/$PACKAGE/*.sh |
pankso@487 | 33 # Config |
pankso@487 | 34 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon |
pankso@487 | 35 cp -a stuff/etc $fs |
pankso@487 | 36 } |