wok-next view antinat/receipt @ rev 19379
Up sxiv (15082016)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Aug 15 18:37:12 2016 +0100 (2016-08-15) |
parents | f0a0b5091b4a |
children | 38cf0c75fa4c |
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 }