wok-current annotate quilt/receipt @ rev 24726

updated libconfuse (3.2.2 -> 3.3)
author Hans-G?nter Theisgen
date Tue Mar 15 11:15:30 2022 +0100 (2022-03-15)
parents 3d14781acd29
children
rev   line source
pascal@17816 1 # SliTaz package receipt.
pascal@17816 2
pascal@17816 3 PACKAGE="quilt"
Hans-G?nter@21749 4 VERSION="0.66"
pascal@17816 5 CATEGORY="development"
pascal@17816 6 SHORT_DESC="Easily manage large numbers of patches."
pascal@17816 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17816 8 LICENSE="GPL2"
Hans-G?nter@21749 9 WEB_SITE="https://savannah.nongnu.org/projects/quilt"
Hans-G?nter@21749 10
pascal@17816 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17816 12 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
pascal@17816 13
pascal@17816 14 DEPENDS="bash perl"
Hans-G?nter@21749 15 BUILD_DEPENDS="diffutils sed"
pascal@17816 16
pascal@24415 17 # What is the latest version available today?
pascal@24415 18 current_version()
pascal@24415 19 {
pascal@24415 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 22 }
pascal@24415 23
pascal@17816 24 # Rules to configure and make the package.
pascal@17816 25 compile_rules()
pascal@17816 26 {
Hans-G?nter@21749 27 ./configure \
Hans-G?nter@21749 28 --prefix=/usr \
Hans-G?nter@21749 29 --sysconfdir=/etc \
Hans-G?nter@21749 30 $CONFIGURE_ARGS &&
pascal@17816 31 make &&
pascal@17816 32 make BUILD_ROOT=$DESTDIR install
pascal@17816 33 }
pascal@17816 34
pascal@17816 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17816 36 genpkg_rules()
pascal@17816 37 {
pascal@17816 38 mkdir -p $fs/usr/share
Hans-G?nter@21749 39
Hans-G?nter@21749 40 cp -a $install/usr/share/quilt $fs/usr/share/
Hans-G?nter@21749 41 cp -a $install/usr/bin $fs/usr/
Hans-G?nter@21749 42 cp -a $install/etc $fs/
pascal@17816 43 }