wok-6.x view antinat/receipt @ rev 19274
Up cookutils (809)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 05 01:51:14 2016 +0300 (2016-07-05) |
parents | 7896f0694ef6 |
children | 11b5e93cb5f2 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://antinat.sourceforge.net/"
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 for i in 1 3 4; do
24 mkdir -p $install/usr/share/man/man$i
25 cp -a $src/man/*.$i $install/usr/share/man/man$i
26 done
27 cook_compress_manpages
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/etc
34 cp $src/etc/antinat.xml $fs/etc
35 chmod 600 $fs/etc/antinat.xml
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/var $fs
39 }