wok annotate proot/receipt @ rev 25424
updated x265 and x265-dev (3.2 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:24:15 2022 +0100 (2022-08-18) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@16623 | 1 # SliTaz package receipt. |
pascal@16623 | 2 |
pascal@16623 | 3 PACKAGE="proot" |
Hans-G?nter@25152 | 4 VERSION="5.3.1" |
pascal@16623 | 5 CATEGORY="misc" |
pascal@16623 | 6 SHORT_DESC="User-space implementation of chroot, mount --bind, and binfmt_misc.." |
pascal@16623 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16623 | 8 LICENSE="GPL2" |
Hans-G?nter@21705 | 9 WEB_SITE="https://proot-me.github.io/" |
Hans-G?nter@21705 | 10 |
pascal@16623 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21705 | 12 WGET_URL="https://github.com/proot-me/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@16623 | 13 |
pascal@16623 | 14 DEPENDS="talloc" |
Hans-G?nter@25152 | 15 BUILD_DEPENDS="libarchive-dev talloc-dev" |
pascal@16623 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@16623 | 23 # Rules to configure and make the package. |
pascal@16623 | 24 compile_rules() |
pascal@16623 | 25 { |
Hans-G?nter@25152 | 26 cd src |
pascal@16623 | 27 make |
pascal@16623 | 28 } |
pascal@16623 | 29 |
pascal@16623 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16623 | 31 genpkg_rules() |
pascal@16623 | 32 { |
pascal@16623 | 33 mkdir -p $fs/usr/bin |
Hans-G?nter@25152 | 34 cp -a $src/src/proot $fs/usr/bin |
pascal@16623 | 35 } |