wok annotate fakeroot/receipt @ rev 25625
Add opendkim (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 17:14:09 2023 +0000 (12 months ago) |
parents | ea7c7014b421 |
children |
rev | line source |
---|---|
slaxemulator@7613 | 1 # SliTaz package receipt. |
slaxemulator@7613 | 2 |
slaxemulator@7613 | 3 PACKAGE="fakeroot" |
pascal@25554 | 4 VERSION="1.31" |
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@25554 | 12 WGET_URL="http://ftp.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 } |