wok view quilt/receipt @ rev 25057
linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 11:05:30 2022 +0000 (2022-06-06) |
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 }