diff options
author | Antonio Hernández Blas <hba.nihilismus@gmail.com> | 2015-07-27 08:44:27 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-07-28 05:24:50 +0700 |
commit | 211abe9142091ec16a470db0acbdb61bfc8d4804 (patch) | |
tree | d317fb937910ee80e9640fc0b389bc23de463db0 /libraries/hoedown | |
parent | 0332d19b57f1e1a5e352e102a88341b1c2bb0014 (diff) | |
download | slackbuilds-211abe9142091ec16a470db0acbdb61bfc8d4804.tar.gz |
libraries/hoedown: Updated for version 3.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/hoedown')
-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="" |