libraries/libzen: Fix "make install" forgetting a header.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-04 11:03:43 +02:00 committed by Robby Workman
parent d1550ed940
commit 6394ae7a41

View file

@ -24,7 +24,7 @@
PRGNAM=libzen
VERSION=${VERSION:-0.4.28}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -94,6 +94,9 @@ cd -
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# A header has been forgotten during the "make install"
install -m 0644 -D Source/ZenLib/BitStream_Fast.h $PKG/usr/include/ZenLib/BitStream_Fast.h
# Correct version number in .pc file
sed -i "s/^Version: .*$/Version: $VERSION/" $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libzen.pc