moreutils: do not strip bins via install(1), fixes cross compilation.

This commit is contained in:
Juan RP 2015-03-30 16:53:41 +02:00
parent dcbd753d97
commit 5ceb9a393a
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'moreutils'
pkgname=moreutils
version=0.55
revision=1
revision=2
build_style=gnu-makefile
make_build_args="DOCBOOK2XMAN=docbook2man"
hostmakedepends="docbook2x"
@ -13,6 +13,9 @@ homepage="https://joeyh.name/code/moreutils/"
distfiles="${DEBIAN_SITE}/main/m/moreutils/moreutils_${version}.orig.tar.gz"
checksum=da9d5cd145ceea967a65dd50031d168d66199c3eb41b9390b57f35d4a5808ab5
pre_install() {
sed -i '/INSTALL_BIN/s/-s//' Makefile
}
post_install() {
# rename parallel to not conflict with gnu-parllel
mv ${DESTDIR}/usr/bin/{,moreutils_}parallel