wok-current view antinat/receipt @ rev 20008

Add: description.txt and links revision.
author Leonardo Laporte <hackdorte@yandex.com>
date Wed Aug 02 14:08:19 2017 -0300 (2017-08-02)
parents f0a0b5091b4a
children 658dbc88032b
line source
1 # SliTaz package receipt.
3 PACKAGE="antinat"
4 VERSION="0.90"
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://antinat.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="expat"
14 BUILD_DEPENDS="expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
20 make &&
21 make prefix=$DESTDIR/usr install
23 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/etc
30 cp $src/etc/antinat.xml $fs/etc
31 chmod 600 $fs/etc/antinat.xml
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/var $fs
35 }