wok annotate lxnetdaemon/receipt @ rev 18085
Up mate-panel-dev: remove wget_url
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 19:44:36 2015 -0300 (2015-05-22) |
parents | 2b9f96603415 |
children | 7dd01dedad38 |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@487 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@487 | 10 WEB_SITE="http://lxde.sourceforge.net/" |
pankso@487 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@14999 | 12 |
pascal@2474 | 13 DEPENDS="glib" |
pascal@12581 | 14 BUILD_DEPENDS="glib-dev" |
pankso@487 | 15 |
pankso@487 | 16 # Rules to configure and make the package. |
pankso@487 | 17 compile_rules() |
pankso@487 | 18 { |
pankso@487 | 19 cd $src |
pascal@15047 | 20 sed -i "s|for script in .(datadir)|for script in $DESTDIR/\$(datadir)|" \ |
pascal@2505 | 21 Makefile.in |
pankso@487 | 22 ./configure \ |
pankso@487 | 23 --prefix=/usr \ |
pascal@2474 | 24 $CONFIGURE_ARGS && |
pascal@2474 | 25 make && |
pascal@14999 | 26 make DESTDIR=$DESTDIR install |
pankso@487 | 27 } |
pankso@487 | 28 |
pankso@487 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@487 | 30 genpkg_rules() |
pankso@487 | 31 { |
pankso@487 | 32 mkdir -p $fs/usr/share |
pascal@14999 | 33 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 34 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@487 | 35 chmod +x $fs/usr/share/$PACKAGE/*.sh |
pankso@487 | 36 # Config |
pankso@487 | 37 cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon |
pankso@487 | 38 cp -a stuff/etc $fs |
pankso@487 | 39 } |