wok-next diff 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 |
line diff
1.1 --- a/lxnetdaemon/receipt Mon Aug 12 17:45:05 2013 +0000 1.2 +++ b/lxnetdaemon/receipt Wed Jun 06 04:36:32 2018 +0300 1.3 @@ -1,39 +1,34 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lxnetdaemon" 1.8 VERSION="0.1.1" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Network manager for LXpanel." 1.11 +SHORT_DESC="Network manager for LXpanel" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL3" 1.14 +WEB_SITE="http://lxde.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://lxde.sourceforge.net/" 1.18 WGET_URL="$SF_MIRROR/lxde/$TARBALL" 1.19 1.20 -DEPENDS="glib" 1.21 BUILD_DEPENDS="glib-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - cd $src 1.27 +compile_rules() { 1.28 sed -i "s|for script in .(datadir)|for script in $DESTDIR/\$(datadir)|" \ 1.29 Makefile.in 1.30 - ./configure \ 1.31 - --prefix=/usr \ 1.32 - $CONFIGURE_ARGS && 1.33 + 1.34 + ./configure $CONFIGURE_ARGS && 1.35 + fix libtool && 1.36 make && 1.37 - make DESTDIR=$DESTDIR install 1.38 + make DESTDIR=$DESTDIR install || return 1 1.39 + 1.40 + chmod +x $install/usr/share/lxnetdaemon/*.sh 1.41 + # Config 1.42 + cp -a $stuff/lxnetdaemon.conf $install/usr/share/lxnetdaemon/ 1.43 + cp -a $stuff/etc $install 1.44 } 1.45 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr/share 1.50 - cp -a $install/usr/bin $fs/usr 1.51 - cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.52 - chmod +x $fs/usr/share/$PACKAGE/*.sh 1.53 - # Config 1.54 - cp -a stuff/lxnetdaemon.conf $fs/usr/share/lxnetdaemon 1.55 - cp -a stuff/etc $fs 1.56 +genpkg_rules() { 1.57 + copy @std 1.58 + DEPENDS="glib" 1.59 }