summaryrefslogtreecommitdiff
path: root/multimedia/iat
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/iat')
-rw-r--r--multimedia/iat/README8
-rw-r--r--multimedia/iat/iat.SlackBuild67
-rw-r--r--multimedia/iat/iat.info10
-rw-r--r--multimedia/iat/slack-desc19
4 files changed, 104 insertions, 0 deletions
diff --git a/multimedia/iat/README b/multimedia/iat/README
new file mode 100644
index 0000000000..c290afd127
--- /dev/null
+++ b/multimedia/iat/README
@@ -0,0 +1,8 @@
+IAT (Iso9660 Analyzer Tool is a tool for detecting the structure of many types
+of CD/DVD images and is part of iGnus Project.
+
+With Iso9660 Analyzer Tool you can:
+ * Create Cuesheet file from image CD/DVD
+ * Create TOC file from image CD/DVD
+ * Convert image CD/DVD to ISO9660
+ * Debug image
diff --git a/multimedia/iat/iat.SlackBuild b/multimedia/iat/iat.SlackBuild
new file mode 100644
index 0000000000..b7a3a53cae
--- /dev/null
+++ b/multimedia/iat/iat.SlackBuild
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+# Slackware build script for iat
+# Written by Elvio Basello <hellvis69 at slackware dot it>
+
+PRGNAM=iat
+VERSION=0.1.7
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+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
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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.${PKGTYPE:-tgz}
diff --git a/multimedia/iat/iat.info b/multimedia/iat/iat.info
new file mode 100644
index 0000000000..00b67cf7e6
--- /dev/null
+++ b/multimedia/iat/iat.info
@@ -0,0 +1,10 @@
+PRGNAM="iat"
+VERSION="0.1.7"
+HOMEPAGE="http://iat.berlios.de"
+DOWNLOAD="http://download.berlios.de/iat/iat-0.1.7.tar.bz2"
+MD5SUM="5e1ffd82000ea4c80ffb2d63ae55120c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Elvio Basello (HelLViS69)"
+EMAIL="hellvis69 at slackware dot it"
+APPROVED="rworkman"
diff --git a/multimedia/iat/slack-desc b/multimedia/iat/slack-desc
new file mode 100644
index 0000000000..47678ea895
--- /dev/null
+++ b/multimedia/iat/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+iat: Iso9660 Analyzer Tool
+iat:
+iat: IAT (Iso9660 Analyzer Tool is a tool for detecting the structure
+iat: of many types of CD/DVD images and is part of iGnus Project.
+iat:
+iat: With Iso9660 Analyzer Tool you can:
+iat: * Create Cuesheet file from image CD/DVD
+iat: * Create TOC file from image CD/DVD
+iat: * Convert image CD/DVD to ISO9660
+iat: * Debug image
+iat: