# SliTaz package receipt. PACKAGE="cclfox" VERSION="0.7.0" CATEGORY="development" SHORT_DESC="server gui for libccls" MAINTAINER="allan316@gmail.com" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://ccl.sourceforge.net" WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/cclfox/$VERSION/$TARBALL" DEPENDS="libccls fox14 glib" BUILD_DEPENDS="libccls-dev fox14-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/ccl/files/cclfox/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/cclfox/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }