wok-current view antinat/receipt @ rev 21437

updated micro_proxy (20021030 -> 20140814)
author Hans-G?nter Theisgen
date Sat Apr 27 16:25:25 2019 +0100 (2019-04-27)
parents 658dbc88032b
children 3e7ff947f644
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 #WGET_URL="http://www.malsmith.net/download/?obj=$PACKAGE/$VERSION/$PACKAGE-source.tar.bz2"
15 DEPENDS="expat"
16 BUILD_DEPENDS="expat-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
22 make &&
23 make prefix=$DESTDIR/usr install
25 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/etc
32 cp $src/etc/antinat.xml $fs/etc
33 chmod 600 $fs/etc/antinat.xml
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/var $fs
37 }