wok view antinat/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
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 }