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

View file

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