wok annotate lxnetdaemon/receipt @ rev 14177
linux: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 17:43:26 2013 +0100 (2013-03-10) |
parents | 04c44c43cca4 |
children | 2b9f96603415 |
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" |
pascal@12581 | 12 BUILD_DEPENDS="glib-dev" |
pankso@487 | 13 |
pankso@487 | 14 # Rules to configure and make the package. |
pankso@487 | 15 compile_rules() |
pankso@487 | 16 { |
pankso@487 | 17 cd $src |
pascal@2505 | 18 sed -i 's/for script in .(datadir)/for script in _pkg\/$(datadir)/' \ |
pascal@2505 | 19 Makefile.in |
pankso@487 | 20 ./configure \ |
pankso@487 | 21 --prefix=/usr \ |
pascal@2474 | 22 $CONFIGURE_ARGS && |
pascal@2474 | 23 make && |
pankso@487 | 24 make DESTDIR=$PWD/_pkg install |
pankso@487 | 25 } |
pankso@487 | 26 |
pankso@487 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@487 | 28 genpkg_rules() |
pankso@487 | 29 { |
pankso@487 | 30 mkdir -p $fs/usr/share |
pankso@487 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@487 | 32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@487 | 33 chmod +x $fs/usr/share/$PACKAGE/*.sh |
pankso@487 | 34 # Config |
pankso@487 | 35 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon |
pankso@487 | 36 cp -a stuff/etc $fs |
pankso@487 | 37 } |