aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vcdimager
diff options
context:
space:
mode:
authorBrian Reichert <rignes@pobox.com>2010-05-11 20:01:26 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:26 +0200
commitdb00d87490bf42d086fc1858e134eb0d339b344a (patch)
treee917ec01228402d195f65683dcfcc2e51d55dd6b /multimedia/vcdimager
parent09aa1689829b190443215b9df59c12e88c749cd5 (diff)
multimedia/vcdimager: Added to 12.0 repository
Diffstat (limited to 'multimedia/vcdimager')
-rw-r--r--multimedia/vcdimager/README6
-rw-r--r--multimedia/vcdimager/slack-desc19
-rw-r--r--multimedia/vcdimager/vcdimager.SlackBuild85
-rw-r--r--multimedia/vcdimager/vcdimager.info8
4 files changed, 118 insertions, 0 deletions
diff --git a/multimedia/vcdimager/README b/multimedia/vcdimager/README
new file mode 100644
index 0000000000000..3615cf91cc57c
--- /dev/null
+++ b/multimedia/vcdimager/README
@@ -0,0 +1,6 @@
+GNU VCDImager
+
+GNU VCDImager is a full-featured mastering suite for authoring,
+disassembling and analyzing Video CDs and Super Video CDs.
+
+This requires libcdio, which is also available at SlackBuilds.org.
diff --git a/multimedia/vcdimager/slack-desc b/multimedia/vcdimager/slack-desc
new file mode 100644
index 0000000000000..16a7640a11475
--- /dev/null
+++ b/multimedia/vcdimager/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------------------------------------------------------|
+vcdimager: GNU VCDImager (Video CD tools)
+vcdimager:
+vcdimager: GNU VCDImager is a full-featured mastering suite for authoring,
+vcdimager: disassembling and analyzing Video CDs and Super Video CDs.
+vcdimager:
+vcdimager: Homepage: http://www.gnu.org/software/vcdimager/
+vcdimager:
+vcdimager:
+vcdimager:
+vcdimager:
+vcdimager:
diff --git a/multimedia/vcdimager/vcdimager.SlackBuild b/multimedia/vcdimager/vcdimager.SlackBuild
new file mode 100644
index 0000000000000..fddefdd4f7b29
--- /dev/null
+++ b/multimedia/vcdimager/vcdimager.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/sh
+
+# Slackware build script for vcdimager
+
+# Copyright 2007 Brian Reichert <rignes@pobox.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+set -e
+
+PRGNAM=vcdimager
+VERSION=0.7.23
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+PDOCS="AUTHORS BUGS ChangeLog_pre0_5 ChangeLog_pre0_7_14 \
+ChangeLog FAQ HACKING THANKS COPYING INSTALL NEWS README TODO"
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+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 \
+ --mandir=/usr/man
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+( 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
+)
+
+# Compress info pages if they exist (and remove the dir file)
+if [ -d $PKG/usr/info ]; then
+ gzip -9 $PKG/usr/info/*.info*
+ rm -f $PKG/usr/info/dir
+fi
+
+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
diff --git a/multimedia/vcdimager/vcdimager.info b/multimedia/vcdimager/vcdimager.info
new file mode 100644
index 0000000000000..6233ebacf77b9
--- /dev/null
+++ b/multimedia/vcdimager/vcdimager.info
@@ -0,0 +1,8 @@
+PRGNAM="vcdimager"
+VERSION="0.7.23"
+HOMEPAGE="http://www.gnu.org/software/vcdimager/"
+DOWNLOAD="ftp://ftp.gnu.org/gnu/vcdimager/vcdimager-0.7.23.tar.gz"
+MD5SUM="5e7d80fdbf0037ad20e438f2a9573253"
+MAINTAINER="Brian Reichert"
+EMAIL="rignes@pobox.com"
+APPROVED="rworkman"