# SliTaz package receipt. PACKAGE="ftp-proxy" SOURCE="proxy-suite" VERSION="1.9.2.4" CATEGORY="network" SHORT_DESC="Application level proxy for the FTP protocol." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://ftp.suse.com/pub/projects/proxy-suite/src" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="$WEB_SITE/$TARBALL" CONFIG_FILES="/etc/proxy-suite/ftp-proxy.conf" DEPENDS="" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && make -j 1 && make -j 1 INST_ROOT=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }