wok-current view antinat/receipt @ rev 16831

Add system-tools-backends, liboobs.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 12 14:33:02 2014 +0300 (2014-07-12)
parents b6aaf868a042
children f0a0b5091b4a
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 cd $src
20 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make &&
22 make prefix=$DESTDIR/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/etc
29 cp $src/etc/antinat.xml $fs/etc
30 chmod 600 $fs/etc/antinat.xml
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/var $fs
34 }