summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-04 11:03:43 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-05 20:10:19 -0500
commit6394ae7a41aedd9f94f93200b99e9142093263fd (patch)
tree727e3c19579e55847b95f7f5a1a5af10d9bda3a5
parentd1550ed940b11d01808225f6cf68854a05941bba (diff)
downloadslackbuilds-6394ae7a41aedd9f94f93200b99e9142093263fd.tar.gz
libraries/libzen: Fix "make install" forgetting a header.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/libzen/libzen.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/libzen/libzen.SlackBuild b/libraries/libzen/libzen.SlackBuild
index ecdf468e8d..9645d5d7b2 100644
--- a/libraries/libzen/libzen.SlackBuild
+++ b/libraries/libzen/libzen.SlackBuild
@@ -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