diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:29:11 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:29:11 +0200 |
commit | 6d6b7280b5f7492947f2639c2f6565f659ad1fd0 (patch) | |
tree | 19f11348135091f35d4d47ab66340b8d1e98cbcd /libraries/ebook-tools | |
parent | e9374706a102bc727813e41e37e1a7cb0c2721f0 (diff) | |
download | slackbuilds-6d6b7280b5f7492947f2639c2f6565f659ad1fd0.tar.gz |
libraries/ebook-tools: Updated for version 0.1.1
Diffstat (limited to 'libraries/ebook-tools')
-rw-r--r-- | libraries/ebook-tools/README | 3 | ||||
-rw-r--r-- | libraries/ebook-tools/ebook-tools.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/ebook-tools/ebook-tools.info | 6 |
3 files changed, 13 insertions, 7 deletions
diff --git a/libraries/ebook-tools/README b/libraries/ebook-tools/README index 82b8c0ecdc..7048e29543 100644 --- a/libraries/ebook-tools/README +++ b/libraries/ebook-tools/README @@ -1,5 +1,2 @@ This package includes utilities for a better ebook-handling ebook-tools: as well as libepub. - -ebook-tools requires libzip, which is also available from -SlackBuilds.org.
\ No newline at end of file diff --git a/libraries/ebook-tools/ebook-tools.SlackBuild b/libraries/ebook-tools/ebook-tools.SlackBuild index eeb68c7e33..6b238e0604 100644 --- a/libraries/ebook-tools/ebook-tools.SlackBuild +++ b/libraries/ebook-tools/ebook-tools.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ebook-tools -# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at> +# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -52,12 +55,16 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +#fix correctly installing libraries in lib$LIBDIRSUFFIX +sed -i "s/lib /lib\${LIB_SUFFIX} /g" src/libepub/CMakeLists.txt + mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ .. make make install DESTDIR=$PKG @@ -76,4 +83,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/ebook-tools/ebook-tools.info b/libraries/ebook-tools/ebook-tools.info index dcd6f08770..4c781da40e 100644 --- a/libraries/ebook-tools/ebook-tools.info +++ b/libraries/ebook-tools/ebook-tools.info @@ -2,7 +2,9 @@ PRGNAM="ebook-tools" VERSION="0.1.1" HOMEPAGE="http://www.sourceforge.net/projects/ebook-tools" DOWNLOAD="http://downloads.sourceforge.net/ebook-tools/ebook-tools-0.1.1.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="15946af6f946eabe8247cdef9ada2b88" -MAINTAINER="ppr:kut" -EMAIL="HMWiesinger@gmx.at" +MD5SUM_x86_64="" +MAINTAINER="pprkut" +EMAIL="pprkut@liwjatan.at" APPROVED="rworkman" |