wok-next view antinat/receipt @ rev 18757

syslinux: compress c32 modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 29 08:59:31 2015 +0100 (2015-12-29)
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 }