aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Yu <yumigator@moldysoup.com>2010-05-11 20:01:14 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 20:01:14 +0200
commit949f279f114b866f650c4b3fd25c4ef9b0ef6f9e (patch)
tree1d6193f13f8df801993d063088ea9846c99c2ca0
parent26e2eef1ee8858533ddc8a98c3dd0d2ad4851b64 (diff)
multimedia/divx4linux: Added to 12.0 repository
-rw-r--r--multimedia/divx4linux/README7
-rw-r--r--multimedia/divx4linux/divx4linux.SlackBuild46
-rw-r--r--multimedia/divx4linux/divx4linux.info8
-rw-r--r--multimedia/divx4linux/slack-desc19
4 files changed, 80 insertions, 0 deletions
diff --git a/multimedia/divx4linux/README b/multimedia/divx4linux/README
new file mode 100644
index 0000000000000..9e4624761b728
--- /dev/null
+++ b/multimedia/divx4linux/README
@@ -0,0 +1,7 @@
+divx4linux (DivX codec for Linux)
+Provides the DivX video codec header and libraries for Linux.
+http://sourceforge.net/projects/avifile/
+
+This package has no dependencies as it is distributed in binary form. However,
+it won't be any use unless you have a media player such as MPlayer to use the
+codec.
diff --git a/multimedia/divx4linux/divx4linux.SlackBuild b/multimedia/divx4linux/divx4linux.SlackBuild
new file mode 100644
index 0000000000000..8af7a48714e00
--- /dev/null
+++ b/multimedia/divx4linux/divx4linux.SlackBuild
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+# Slackware build script for divx4linux
+# Written by Jonathan Yu <yumigator [at] moldysoup [dot] com>
+
+# Adapted from install.sh included with package
+# Slightly modified by the SlackBuilds.org project
+set -e # Exit on most errors
+
+PRGNAM=divx4linux
+VERSION=20020418
+ARCH=${ARCH:-i386} # binary package, do not change
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
+
+# Building package from binaries; no compiling necessary
+mkdir -p $PKG/usr/{lib,include}
+cp -f libdivx{de,en}core.so $PKG/usr/lib/
+cp -f {decore,encore2}.h $PKG/usr/include/
+chown root.root $PKG/usr/lib/libdivx{en,de}core.so
+chmod 755 $PKG/usr/lib/libdivx{en,de}core.so
+rm -f $PKG/usr/lib/libdivx{en,de}core.so.0
+ln -s libdivxencore.so $PKG/usr/lib/libdivxencore.so.0
+ln -s libdivxdecore.so $PKG/usr/lib/libdivxdecore.so.0
+chown root.root $PKG/usr/include/{decore,encore2}.h
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp "DivX MPEG-4 Codec and Its Interface.pdf" $PKG/usr/doc/$PRGNAM-$VERSION/
+cp RELNOTES.linux $PKG/usr/doc/$PRGNAM-$VERSION/
+chmod -x "$PKG/usr/doc/$PRGNAM-$VERSION/DivX MPEG-4 Codec and Its Interface.pdf"
+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.tgz
diff --git a/multimedia/divx4linux/divx4linux.info b/multimedia/divx4linux/divx4linux.info
new file mode 100644
index 0000000000000..4d92b3f4c52b5
--- /dev/null
+++ b/multimedia/divx4linux/divx4linux.info
@@ -0,0 +1,8 @@
+PRGNAM="divx4linux"
+VERSION="20020418"
+HOMEPAGE="http://sourceforge.net/projects/avifile/"
+DOWNLOAD="http://dl.sourceforge.net/avifile/divx4linux-20020418.tgz"
+MD5SUM="dd0a1214bd95b72a2a06c2365abc0339"
+MAINTAINER="Jonathan Yu"
+EMAIL="yumigator@moldysoup.com"
+APPROVED="BP{k}"
diff --git a/multimedia/divx4linux/slack-desc b/multimedia/divx4linux/slack-desc
new file mode 100644
index 0000000000000..81a68400dab53
--- /dev/null
+++ b/multimedia/divx4linux/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------------------------------------------------------|
+divx4linux: divx4linux (DivX codec for Linux)
+divx4linux:
+divx4linux: Provides the DivX video codec header and libraries for Linux.
+divx4linux:
+divx4linux: http://sourceforge.net/projects/avifile/
+divx4linux:
+divx4linux:
+divx4linux:
+divx4linux:
+divx4linux:
+divx4linux: