wok-6.x view antinat/receipt @ rev 14748
busybox: add musl & dietlibc patchs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 16 15:26:17 2013 +0200 (2013-06-16) |
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 }