wok-next view antinat/receipt @ rev 20637

ghostscript: update (b)deps (avoid jpeg / libjpeg-turbo to be in the same package)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 16:32:16 2018 +0300 (2018-04-27)
parents 757d032c55c7
children a918044cbc4c
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 fix libtool &&
21 make &&
22 make install || return 1
24 # make file readable for web interface, revert file permissions in post-install
25 chmod a+r $install/etc/antinat.xml
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 antinat)
31 copy @std var/
32 DEPENDS="expat"
33 CONFIG_FILES="/etc/antinat.xml"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }
41 post_install_antinat() {
42 chmod 600 $1/etc/antinat.xml
43 }