diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-18 21:08:08 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-23 09:16:47 -0500 |
commit | 23b8c687d9c1de82297556d7a82f81555fe9f6a7 (patch) | |
tree | 16a44d58b35f7b1c8c2e3116a6bc5db2383b4fb9 /libraries/libfm/libfm.SlackBuild | |
parent | 4d841526538160b1ee1bc6eea1defecd06184f6a (diff) |
libraries/libfm: Apply patches from upstream.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/libfm.SlackBuild')
-rw-r--r-- | libraries/libfm/libfm.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild index 66affb1bce21..2f14c4d8490c 100644 --- a/libraries/libfm/libfm.SlackBuild +++ b/libraries/libfm/libfm.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=libfm VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,7 +74,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -sh autogen.sh || true +# Apply patches from upstream +for i in $CWD/patches/* ; do patch -p1 < $i ; done + +autoreconf -fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -92,6 +95,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +# Fix include folders +( cd $PKG/usr/include ; rm -fr libfm ; ln -s libfm-1.0 libfm ) + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |