wok-next view antinat/receipt @ rev 19840
Up librsvg (split more), make-slitaz-icons (use rsvg-convert instead of inkscape), faenza-icon-theme (keep original theme), slitaz-icons-faenza (combine light & dark).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 14 15:53:27 2017 +0300 (2017-08-14) |
parents | 11b5e93cb5f2 |
children | 757d032c55c7 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
28 # make file readable for web interface, revert file permissions in post-install
29 chmod a+r $install/etc/antinat.xml
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 antinat)
37 copy @std var/
38 DEPENDS="expat"
39 CONFIG_FILES="/etc/antinat.xml"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }
47 post_install_antinat() {
48 chmod 600 $1/etc/antinat.xml
49 }