wok-current annotate fakeroot/receipt @ rev 25042
Up lzsa (1.3.12), zstd (1.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 08:14:05 2022 +0000 (2022-06-01) |
parents | 79a5bd723741 |
children | ea7c7014b421 |
rev | line source |
---|---|
slaxemulator@7613 | 1 # SliTaz package receipt. |
slaxemulator@7613 | 2 |
slaxemulator@7613 | 3 PACKAGE="fakeroot" |
Hans-G?nter@24537 | 4 VERSION="1.27" |
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 } |