p7zip: rebuild for musl and fix perms in doc dirs.

This commit is contained in:
Juan RP 2015-07-02 16:09:52 +02:00
parent f6cc82b43c
commit 42d0ff899a
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
pkgname=p7zip
version=9.38.1
wrksrc=${pkgname}_${version}
revision=1
revision=2
hostmakedepends="yasm nasm"
short_desc="Command-line version of the 7zip compressed file archive"
homepage="http://p7zip.sourceforge.net/"
@ -22,10 +22,11 @@ do_configure() {
sed -e "s,gcc,${CC}," -i makefile.machine
}
do_build() {
make all3 OPTFLAGS="$CXXFLAGS"
make all3 OPTFLAGS="$CXXFLAGS" ${makejobs}
}
do_install() {
make install DEST_DIR="${DESTDIR}" DEST_HOME="/usr" \
DEST_MAN="/usr/share/man" \
DEST_SHARE_DOC="/usr/share/doc/${pkgname}"
find ${DESTDIR}/usr/share/doc/$pkgname -type d -exec chmod 755 {} \;
}