proot: update to 5.0.0.
This commit is contained in:
parent
baf1a16e27
commit
74a2b07c4e
1 changed files with 10 additions and 6 deletions
|
@ -1,22 +1,26 @@
|
|||
# Template file for 'proot'
|
||||
pkgname=proot
|
||||
version=3.2.2
|
||||
version=5.0.0
|
||||
revision=1
|
||||
short_desc="User-space implementation of chroot, mount --bind, and binfmt_misc"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://proot.me"
|
||||
distfiles="https://github.com/cedric-vincent/PRoot/archive/v${version}.tar.gz"
|
||||
checksum="481296465027c48de8b8779c4cdad57948c765139f2a17b25590068b8d21a111"
|
||||
makedepends="talloc-devel"
|
||||
checksum=e3f4f38132416e0306fe8e7e225f037e1630665231c65a659969f7c0555483a7
|
||||
makedepends="libarchive-devel talloc-devel"
|
||||
wrksrc="PRoot-${version}"
|
||||
|
||||
pre_build() {
|
||||
sed -i "s,strip,${STRIP},g" src/GNUmakefile
|
||||
sed -i "s,objcopy,${OBJCOPY},g" src/GNUmakefile
|
||||
sed -i "s,objdump,${OBJDUMP},g" src/GNUmakefile
|
||||
}
|
||||
do_build() {
|
||||
cd src
|
||||
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall src/proot 755 usr/bin
|
||||
vinstall doc/proot.1 644 usr/share/man/man1
|
||||
vbin src/proot
|
||||
vman doc/proot/man.1 proot.1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue