diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2014-12-13 17:02:29 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-20 07:16:10 +0700 |
commit | 959d32ff588fd91b205b67698c8ad15d8cf0a0bb (patch) | |
tree | 71e8888babd398cc74d1772581dfa21603ee8786 /libraries/libfm | |
parent | 505ce0c4ccd7185af697f17a9a7c4813a1d5f528 (diff) | |
download | slackbuilds-959d32ff588fd91b205b67698c8ad15d8cf0a0bb.tar.gz |
libraries/libfm: Splitted libfm-extra.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libfm')
-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 7444f65085..ae25d81c43 100644 --- a/libraries/libfm/libfm.SlackBuild +++ b/libraries/libfm/libfm.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=libfm VERSION=${VERSION:-1.2.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -97,9 +97,15 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -# Fix include folders +# Fix the include folder ( cd $PKG/usr/include ; rm -fr libfm ; ln -s libfm-1.0 libfm ) +# Remove libfm-extra files (as they're in a separate package) +( cd $PKG/usr/include/libfm + rm -f fm-xml-file.h fm-extra.h fm-version.h + cd $PKG/usr/lib$LIBDIRSUFFIX + rm -f libfm-extra.so* pkgconfig/libfm-extra.pc libfm-extra.la ) + 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 |