From 211abe9142091ec16a470db0acbdb61bfc8d4804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Hern=C3=A1ndez=20Blas?= Date: Mon, 27 Jul 2015 08:44:27 +0700 Subject: libraries/hoedown: Updated for version 3.0.3. Signed-off-by: Willy Sudiarto Raharjo --- libraries/hoedown/hoedown.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libraries/hoedown/hoedown.SlackBuild') diff --git a/libraries/hoedown/hoedown.SlackBuild b/libraries/hoedown/hoedown.SlackBuild index 50c252ee18..5f6acef3b7 100644 --- a/libraries/hoedown/hoedown.SlackBuild +++ b/libraries/hoedown/hoedown.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hoedown -VERSION=${VERSION:-3.0.1} +VERSION=${VERSION:-3.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,13 +72,16 @@ find -L . \ sed -i '/^CFLAGS = /s/ -O3 / /g' Makefile* sed -i 's/^CFLAGS = /CFLAGS += /' Makefile* sed -i 's/^PREFIX = .*/PREFIX = \/usr/' Makefile* -sed -i '/install /s/\/lib$/\/lib'$LIBDIRSUFFIX'/' Makefile* +sed -i 's/^LIBDIR = .*/LIBDIR = \/usr\/lib'$LIBDIRSUFFIX'/' Makefile* CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# Delete the static library +rm -f $PKG/usr/lib$LIBDIRSUFFIX/libhoedown.a + 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 -- cgit v1.2.3