wok annotate frox/receipt @ rev 25421

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 07:02:08 2022 +0000 (2022-08-10)
parents 8e449fe1df2e
children 7dd01dedad38
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@20475 13 TAGS="ftp"
pascal@17150 14
pascal@24385 15 # What is the latest version available today?
pascal@24385 16 current_version()
pascal@24385 17 {
pascal@24385 18 wget -O - https://sourceforge.net/projects/frox/files/frox/ 2>/dev/null | \
pascal@24385 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 20 sed '/scope="row/!d;s|.*/frox/||;s|/.*||;q'
pascal@24385 21 }
pascal@24385 22
pascal@17150 23 # Rules to configure and make the package.
pascal@17150 24 compile_rules()
pascal@17150 25 {
pascal@17150 26 ./configure --prefix=/usr \
pascal@17150 27 --enable-configfile=/etc/frox.conf \
pascal@17150 28 $CONFIGURE_ARGS &&
pascal@17150 29 make &&
pascal@17150 30 make DESTDIR=$DESTDIR install
pascal@17150 31 }
pascal@17150 32
pascal@17150 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17150 34 genpkg_rules()
pascal@17150 35 {
pascal@17150 36 mkdir -p $fs/etc
pascal@17150 37 cp -a $src/src/frox.conf $fs/etc
pascal@17151 38 chown root.root $fs/etc/frox.conf
pascal@17150 39 cp -a $install/usr $fs/
pascal@17150 40 }