wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="antinat"
4 VERSION="0.91"
5 CATEGORY="network"
6 SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.malsmith.net/antinat/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 WGET_URL="http://www.malsmith.net/download/?obj=antinat/$VERSION/antinat-source.tar.bz2"
15 BUILD_DEPENDS="gfortran expat-dev"
16 SPLIT="antinat-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make install || return 1
23 # make file readable for web interface, revert file permissions in post-install
24 chmod a+r $install/etc/antinat.xml
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 antinat)
30 copy @std var/
31 DEPENDS="expat"
32 CONFIG_FILES="/etc/antinat.xml"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }
40 post_install_antinat() {
41 chmod 600 $1/etc/antinat.xml
42 }