wok view antinat/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
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 }