wok-next diff antinat/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 | 38cf0c75fa4c |
children | 835b3b8ce6ac |
line diff
1.1 --- a/antinat/receipt Fri Aug 11 04:54:37 2017 +0300 1.2 +++ b/antinat/receipt Fri Mar 30 19:31:50 2018 +0300 1.3 @@ -15,23 +15,16 @@ 1.4 BUILD_DEPENDS="gfortran expat-dev" 1.5 SPLIT="antinat-dev" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 - ./configure \ 1.11 - --sysconfdir=/etc \ 1.12 - --localstatedir=/var \ 1.13 - $CONFIGURE_ARGS && 1.14 +compile_rules() { 1.15 + ./configure $CONFIGURE_ARGS && 1.16 make && 1.17 - make install 1.18 + make install || return 1 1.19 1.20 # make file readable for web interface, revert file permissions in post-install 1.21 chmod a+r $install/etc/antinat.xml 1.22 } 1.23 1.24 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 -genpkg_rules() 1.26 -{ 1.27 +genpkg_rules() { 1.28 case $PACKAGE in 1.29 antinat) 1.30 copy @std var/