wok annotate fakeroot/receipt @ rev 25073

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