diff options
-rw-r--r-- | libraries/hoedown/hoedown.SlackBuild | 7 | ||||
-rw-r--r-- | libraries/hoedown/hoedown.info | 6 |
2 files changed, 8 insertions, 5 deletions
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 diff --git a/libraries/hoedown/hoedown.info b/libraries/hoedown/hoedown.info index 6cca80d086..d3a7e4cb81 100644 --- a/libraries/hoedown/hoedown.info +++ b/libraries/hoedown/hoedown.info @@ -1,8 +1,8 @@ PRGNAM="hoedown" -VERSION="3.0.1" +VERSION="3.0.3" HOMEPAGE="https://github.com/hoedown/hoedown" -DOWNLOAD="https://github.com/hoedown/hoedown/archive/3.0.1.zip" -MD5SUM="7cf711ab7bc1a2bfe8bb23f172221e49" +DOWNLOAD="https://github.com/hoedown/hoedown/archive/3.0.3.zip" +MD5SUM="63110838d60d2b502268c6b1074b160b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |