toybox: update to 0.7.3.
This commit is contained in:
parent
03d4a22a16
commit
8276ccdede
1 changed files with 9 additions and 8 deletions
|
@ -1,29 +1,30 @@
|
||||||
# Template file for 'toybox'
|
# Template file for 'toybox'
|
||||||
pkgname=toybox
|
pkgname=toybox
|
||||||
version=0.7.2
|
version=0.7.3
|
||||||
revision=1
|
revision=1
|
||||||
|
create_wrksrc=yes
|
||||||
short_desc="A BSD-licensed alternative to busybox"
|
short_desc="A BSD-licensed alternative to busybox"
|
||||||
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://www.landley.net/toybox"
|
homepage="http://www.landley.net/toybox"
|
||||||
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
|
||||||
checksum=79da71c7c39cef0a5f7b834f0b17d0d436e7994dd33e912f581b4c12d3b1681f
|
checksum=e6469b508224e0d2e4564dda05c4bb47aef5c28bf29d6c983bcdc6e3a0cd29d6
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mkdir toybox
|
mv toybox{-${version},}
|
||||||
mv * toybox || true
|
cp -r toybox{,-static}
|
||||||
cp -a toybox toybox-static
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
export NOSTRIP=1
|
||||||
|
|
||||||
# toybox
|
# toybox
|
||||||
cd ${wrksrc}/toybox
|
cd toybox
|
||||||
make defconfig
|
make defconfig
|
||||||
rm -f ${XBPS_WRAPPERDIR}/strip
|
|
||||||
make ${makejobs} toybox
|
make ${makejobs} toybox
|
||||||
|
|
||||||
# toybox-static
|
# toybox-static
|
||||||
cd ${wrksrc}/toybox-static
|
cd ../toybox-static
|
||||||
make defconfig
|
make defconfig
|
||||||
make ${makejobs} LDFLAGS="--static" toybox
|
make ${makejobs} LDFLAGS="--static" toybox
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue