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'
|
# Template file for 'proot'
|
||||||
pkgname=proot
|
pkgname=proot
|
||||||
version=3.2.2
|
version=5.0.0
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="User-space implementation of chroot, mount --bind, and binfmt_misc"
|
short_desc="User-space implementation of chroot, mount --bind, and binfmt_misc"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://proot.me"
|
homepage="http://proot.me"
|
||||||
distfiles="https://github.com/cedric-vincent/PRoot/archive/v${version}.tar.gz"
|
distfiles="https://github.com/cedric-vincent/PRoot/archive/v${version}.tar.gz"
|
||||||
checksum="481296465027c48de8b8779c4cdad57948c765139f2a17b25590068b8d21a111"
|
checksum=e3f4f38132416e0306fe8e7e225f037e1630665231c65a659969f7c0555483a7
|
||||||
makedepends="talloc-devel"
|
makedepends="libarchive-devel talloc-devel"
|
||||||
wrksrc="PRoot-${version}"
|
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() {
|
do_build() {
|
||||||
cd src
|
cd src
|
||||||
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
|
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall src/proot 755 usr/bin
|
vbin src/proot
|
||||||
vinstall doc/proot.1 644 usr/share/man/man1
|
vman doc/proot/man.1 proot.1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue