# SliTaz package receipt. PACKAGE="quilt" VERSION="0.66" CATEGORY="development" SHORT_DESC="Easily manage large numbers of patches." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://savannah.nongnu.org/projects/quilt" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" DEPENDS="bash perl" BUILD_DEPENDS="diffutils sed" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && make BUILD_ROOT=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/share/quilt $fs/usr/share/ cp -a $install/usr/bin $fs/usr/ cp -a $install/etc $fs/ }