wok-current view antinat/receipt @ rev 14973
Up: firefox-langpack-zh_CN (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:20:11 2013 +0200 (2013-08-08) |
parents | |
children | 7896f0694ef6 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://antinat.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="expat"
13 BUILD_DEPENDS="expat-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
20 make &&
21 make prefix=$DESTDIR/usr install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/etc
28 cp $src/etc/antinat.xml $fs/etc
29 chmod 600 $fs/etc/antinat.xml
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/var $fs
33 }