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