wok-6.x annotate lxnetdaemon/receipt @ rev 5932
Up: netsurf(2.5)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 30 16:57:43 2010 +0200 (2010-07-30) |
parents | d04823a784db |
children | 05abedfc8a12 |
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 } |