wok view fakeroot/receipt @ rev 25102
Use archive.org for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 21 16:00:20 2022 +0000 (2022-06-21) |
parents | 00e3b45c063b |
children | 943e4e95214c |
line source
1 # SliTaz package receipt.
3 PACKAGE="fakeroot"
4 VERSION="1.29"
5 CATEGORY="development"
6 SHORT_DESC="Gives a fake root environment, useful for building packages as a non-privileged user."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.debian.org/FakeRoot/"
11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
12 WGET_URL="https://deb.debian.org/debian/pool/main/f/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libcap-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
41 }