wok-next annotate lxnetdaemon/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | bb571e1e341c |
children | d5aab818505e |
rev | line source |
---|---|
al@20595 | 1 # SliTaz package receipt v2. |
pankso@487 | 2 |
pankso@487 | 3 PACKAGE="lxnetdaemon" |
pankso@487 | 4 VERSION="0.1.1" |
pankso@487 | 5 CATEGORY="network" |
al@20595 | 6 SHORT_DESC="Network manager for LXpanel" |
pankso@487 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@20595 | 9 WEB_SITE="http://lxde.sourceforge.net/" |
al@20595 | 10 |
pankso@487 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@487 | 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@14999 | 13 |
pascal@12581 | 14 BUILD_DEPENDS="glib-dev" |
pankso@487 | 15 |
al@20595 | 16 compile_rules() { |
pascal@15047 | 17 sed -i "s|for script in .(datadir)|for script in $DESTDIR/\$(datadir)|" \ |
pascal@2505 | 18 Makefile.in |
al@20595 | 19 |
al@20595 | 20 ./configure $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
pascal@2474 | 22 make && |
al@20595 | 23 make DESTDIR=$DESTDIR install || return 1 |
al@20595 | 24 |
al@20595 | 25 chmod +x $install/usr/share/lxnetdaemon/*.sh |
al@20595 | 26 # Config |
al@20595 | 27 cp -a $stuff/lxnetdaemon.conf $install/usr/share/lxnetdaemon/ |
al@20595 | 28 cp -a $stuff/etc $install |
pankso@487 | 29 } |
pankso@487 | 30 |
al@20595 | 31 genpkg_rules() { |
al@20595 | 32 copy @std |
al@20595 | 33 DEPENDS="glib" |
pankso@487 | 34 } |