diff options
author | Niels Horn <niels.horn@gmail.com> | 2013-04-07 18:12:48 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-04-15 17:20:32 -0500 |
commit | 1ef93ca6b6bf22acbd32df90f8e3d6d47619872b (patch) | |
tree | fbb608d3d315cee5b32c1de9eb0844b1dc95750b /system/image-analyzer | |
parent | adc3f99db51a5b41ecc582ee8b45699eb4b14cae (diff) |
system/image-analyzer: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/image-analyzer')
-rw-r--r-- | system/image-analyzer/image-analyzer.SlackBuild | 31 | ||||
-rw-r--r-- | system/image-analyzer/image-analyzer.info | 8 | ||||
-rw-r--r-- | system/image-analyzer/slack-desc | 2 |
3 files changed, 21 insertions, 20 deletions
diff --git a/system/image-analyzer/image-analyzer.SlackBuild b/system/image-analyzer/image-analyzer.SlackBuild index 985c25358b909..5316f6cddb13d 100644 --- a/system/image-analyzer/image-analyzer.SlackBuild +++ b/system/image-analyzer/image-analyzer.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for image-analyser # Application to display tree structure of disc images -# 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=image-analyzer -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,18 +70,19 @@ 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 \ - --sysconfdir=/etc \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make VERBOSE=1 + make install DESTDIR=$PKG +cd .. + +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/share/{applications,pixmaps} cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop diff --git a/system/image-analyzer/image-analyzer.info b/system/image-analyzer/image-analyzer.info index 0cac63893e060..51e06ef6e0042 100644 --- a/system/image-analyzer/image-analyzer.info +++ b/system/image-analyzer/image-analyzer.info @@ -1,8 +1,8 @@ PRGNAM="image-analyzer" -VERSION="1.5.0" -HOMEPAGE="http://cdemu.sourceforge.net/pkg_analyzer.php" -DOWNLOAD="http://downloads.sourceforge.net/cdemu/image-analyzer-1.5.0.tar.bz2" -MD5SUM="c27efa503dbc25dcbf9a4b6c07e3b25a" +VERSION="2.0.0" +HOMEPAGE="http://cdemu.sourceforge.net/about/analyzer/" +DOWNLOAD="http://downloads.sourceforge.net/cdemu/image-analyzer-2.0.0.tar.bz2" +MD5SUM="ede5b4757a32897e53c627e0a7eb9e65" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libmirage" diff --git a/system/image-analyzer/slack-desc b/system/image-analyzer/slack-desc index 67ba5a6ff293b..4dcb3a52c65c6 100644 --- a/system/image-analyzer/slack-desc +++ b/system/image-analyzer/slack-desc @@ -14,6 +14,6 @@ image-analyzer: It is mostly intended as a demonstration of libMirage API use, image-analyzer: although it can be also used to verify that an image is correctly image-analyzer: handled by libMirage. image-analyzer: -image-analyzer: Homepage: http://cdemu.sourceforge.net/pkg_analyzer.php +image-analyzer: Homepage: http://cdemu.sourceforge.net/about/analyzer/ image-analyzer: image-analyzer: |