wok-current view antinat/receipt @ rev 24287
updated smtube (20.1.0 -> 21.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 14:17:04 2022 +0100 (2022-01-13) |
parents | acac2eedb66f |
children | 5f6c5106b1f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="antinat"
4 VERSION="0.91"
5 CATEGORY="network"
6 SHORT_DESC="Flexible SOCKS server and 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 \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make prefix=$DESTDIR/usr install
28 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 mkdir -p $fs/etc
37 cp $src/etc/antinat.xml $fs/etc
38 chmod 600 $fs/etc/antinat.xml
40 cp -a $install/usr/lib/* $fs/usr/lib
41 rm $fs/usr/lib/*a
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/var $fs
44 }