# SliTaz package receipt. PACKAGE="cvs" VERSION="1.12.13" CATEGORY="development" TAGS="version-control versioning" SHORT_DESC="Concurrent Versions System" MAINTAINER="erjo@slitaz.org" LICENSE="GPL" WEB_SITE="https://nongnu.org/cvs/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://ftp.gnu.org/non-gnu/$PACKAGE/source/feature/$VERSION/$TARBALL" DEPENDS="libcomerr libcomerr3 libcrypto libkrb5" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ -C \ --prefix=/usr \ --with-ssh \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make -j 1 DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $install/usr/bin/cvs* $fs/usr/bin }