wok-next diff sagan/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 96615f3b1048 |
children | 342b30daff76 |
line diff
1.1 --- a/sagan/receipt Sun Oct 29 23:24:57 2017 +0100 1.2 +++ b/sagan/receipt Fri Mar 30 19:31:50 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="sagan" 1.8 VERSION="0.2.0" 1.9 @@ -7,31 +7,25 @@ 1.10 MAINTAINER="erjo@slitaz.org" 1.11 LICENSE="GPL2" 1.12 WEB_SITE="http://sagan.softwink.com/" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="http://sagan.softwink.com/download/$TARBALL" 1.16 1.17 -DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules pcre" 1.18 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev pcre-dev" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 - ./configure $CONFIGURE_ARGS \ 1.24 +compile_rules() { 1.25 + ./configure \ 1.26 --sysconfdir=/etc/sagan \ 1.27 --disable-mysql \ 1.28 --disable-postgresql \ 1.29 --disable-prelude \ 1.30 --disable-lognorm \ 1.31 - && make && make install 1.32 + $CONFIGURE_ARGS && 1.33 + make && 1.34 + make install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir $fs/usr 1.41 - 1.42 - cp -a $install/usr/bin $fs/usr 1.43 - cp -a $install/var $fs/ 1.44 - cp -a $install/etc $fs/ 1.45 - 1.46 +genpkg_rules() { 1.47 + copy @std 1.48 + DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules pcre" 1.49 }