diff options
author | Niels Horn <niels.horn@gmail.com> | 2013-04-07 18:11:17 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-04-15 17:20:32 -0500 |
commit | adc3f99db51a5b41ecc582ee8b45699eb4b14cae (patch) | |
tree | f37a05d02aba598c4046936ee72679534f17ea90 | |
parent | a4c796f3529a5b4bdff0bc844c5a53707b7e91ec (diff) |
libraries/libmirage: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | libraries/libmirage/libmirage.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/libmirage/libmirage.info | 8 | ||||
-rw-r--r-- | libraries/libmirage/slack-desc | 2 |
3 files changed, 19 insertions, 18 deletions
diff --git a/libraries/libmirage/libmirage.SlackBuild b/libraries/libmirage/libmirage.SlackBuild index 0f357546a57e5..f1ebb10f7ffd5 100644 --- a/libraries/libmirage/libmirage.SlackBuild +++ b/libraries/libmirage/libmirage.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for libmirage # # Copyright 2008 Niklas "Nille" Åkerström -# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Revision date: 2012/09/15 +# Revision date: 2013/03/31 PRGNAM=libmirage -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,17 +68,18 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+rw,go+r-w . -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --build=$ARCH-slackware-linux +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make VERBOSE=1 + make install DESTDIR=$PKG +cd .. -make -make install-strip DESTDIR=$PKG +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp AUTHORS ChangeLog COPYING INSTALL NEWS README \ diff --git a/libraries/libmirage/libmirage.info b/libraries/libmirage/libmirage.info index 53ce0c2659a01..97b36091a6b19 100644 --- a/libraries/libmirage/libmirage.info +++ b/libraries/libmirage/libmirage.info @@ -1,8 +1,8 @@ PRGNAM="libmirage" -VERSION="1.5.0" -HOMEPAGE="http://cdemu.sourceforge.net/pkg_libmirage.php" -DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-1.5.0.tar.bz2" -MD5SUM="b60d9baa754efee6e0f6a584ec033fff" +VERSION="2.0.0" +HOMEPAGE="http://cdemu.sourceforge.net/about/libmirage/" +DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-2.0.0.tar.bz2" +MD5SUM="72007f3364cbf3aea782aaa1fdade238" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libmirage/slack-desc b/libraries/libmirage/slack-desc index 9f0d54b2a18dc..27c6478c5eba8 100644 --- a/libraries/libmirage/slack-desc +++ b/libraries/libmirage/slack-desc @@ -15,5 +15,5 @@ libmirage: Experimental image parsers: b6t, c2d, cdi, cif, daa libmirage: libmirage: libmirage is part of the userspace-cdemu suite. libmirage: -libmirage: Homepage: http://cdemu.sourceforge.net/pkg_libmirage.php +libmirage: Homepage: http://cdemu.sourceforge.net/about/libmirage/ libmirage: |