wok annotate frox/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | ca224f09fcb3 |
children | 8e449fe1df2e |
rev | line source |
---|---|
pascal@17150 | 1 # SliTaz package receipt. |
pascal@17150 | 2 |
pascal@17150 | 3 PACKAGE="frox" |
pascal@17150 | 4 VERSION="0.7.18" |
pascal@17150 | 5 CATEGORY="network" |
pascal@17150 | 6 SHORT_DESC="A transparent ftp proxy" |
pascal@17150 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17150 | 8 LICENSE="GPL2" |
pascal@17150 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17150 | 10 WEB_SITE="http://frox.sourceforge.net/" |
pascal@17150 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17150 | 12 CONFIG_FILES="/etc/frox.conf" |
pascal@17150 | 13 TAG="ftp" |
pascal@17150 | 14 |
pascal@17150 | 15 # Rules to configure and make the package. |
pascal@17150 | 16 compile_rules() |
pascal@17150 | 17 { |
pascal@17150 | 18 ./configure --prefix=/usr \ |
pascal@17150 | 19 --enable-configfile=/etc/frox.conf \ |
pascal@17150 | 20 $CONFIGURE_ARGS && |
pascal@17150 | 21 make && |
pascal@17150 | 22 make DESTDIR=$DESTDIR install |
pascal@17150 | 23 } |
pascal@17150 | 24 |
pascal@17150 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17150 | 26 genpkg_rules() |
pascal@17150 | 27 { |
pascal@17150 | 28 mkdir -p $fs/etc |
pascal@17150 | 29 cp -a $src/src/frox.conf $fs/etc |
pascal@17151 | 30 chown root.root $fs/etc/frox.conf |
pascal@17150 | 31 cp -a $install/usr $fs/ |
pascal@17150 | 32 } |