wok-6.x view antinat/receipt @ rev 24908
updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 15:21:07 2022 +0100 (2022-04-09) |
parents | 3e7ff947f644 |
children | 7dd01dedad38 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - http://www.malsmith.net/antinat/download/ 2>/dev/null | \
22 sed '/source.tar/!d;s|/antinat-source.*||;s|.*/||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make prefix=$DESTDIR/usr install
35 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 mkdir -p $fs/etc
44 cp $src/etc/antinat.xml $fs/etc
45 chmod 600 $fs/etc/antinat.xml
47 cp -a $install/usr/lib/* $fs/usr/lib
48 rm $fs/usr/lib/*a
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/var $fs
51 }