wok-next diff gadmin-squid/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 2b9f96603415 |
children | 8e1b2a143eb3 |
line diff
1.1 --- a/gadmin-squid/receipt Sat Aug 10 13:52:56 2013 +0000 1.2 +++ b/gadmin-squid/receipt Tue Jun 05 17:27:09 2018 +0300 1.3 @@ -1,38 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gadmin-squid" 1.8 VERSION="0.1.4" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="GTK+ configuration tool for SQUID." 1.11 +SHORT_DESC="GTK+ configuration tool for SQUID" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL3" 1.14 +WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/" 1.18 WGET_URL="http://dalalven.dtdns.net/linux/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="gtk+ squid" 1.21 BUILD_DEPENDS="gtk+-dev" 1.22 1.23 - 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 - ./configure --prefix=/usr \ 1.29 - --sysconfdir=/etc \ 1.30 - --localstatedir=/var \ 1.31 - --mandir=/usr/share/man \ 1.32 - $CONFIGURE_ARGS && 1.33 +compile_rules() { 1.34 + ./configure $CONFIGURE_ARGS && 1.35 make && 1.36 make DESTDIR=$DESTDIR install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr/share/applications 1.43 - cp -a $install/etc $fs 1.44 - cp -a $install/usr/sbin $fs/usr 1.45 - cp -a $install/usr/share/pixmaps $fs/usr/share 1.46 - cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications 1.47 +genpkg_rules() { 1.48 + copy @std 1.49 + DEPENDS="gtk+ squid" 1.50 }