audio/ogmtools: Updated for version 1.5

This commit is contained in:
Nishant Limbachia 2010-05-13 00:21:56 +02:00 committed by David Somero
parent 9c88b2f6c7
commit eb4d931739
4 changed files with 29 additions and 18 deletions

View file

@ -1,7 +1,3 @@
OGMTools allows information about ogg media, extraction of ogg media OGMTools allows information about ogg media, extraction of ogg media
streams and creation of ogg media streams (ogm). streams and creation of ogg media streams (ogm).
Dependencies include:
1. libdvdread (available at SBo)
2. libvorbis (available in Slackware)
3. vorbis-tools (available in Slackware)

View file

@ -38,20 +38,23 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
CWD=$(pwd) CWD=$(pwd)
set -e
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi fi
set -e
rm -fr $TMP/$PRGNAM-$VERSION $PKG rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $TMP/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION
chown -R root.root . chown -R root.root .
@ -63,13 +66,15 @@ find . \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr \ ./configure \
--exec-prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \ --exec-prefix=/usr \
--mandir=/usr/man \ --sysconfdir=/etc \
--infodir=/usr/info \ --localstatedir=/var \
--build=$ARCH-slackware-linux --mandir=/usr/man \
--infodir=/usr/info \
--build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -92,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
### building package ### building package
chown -R root.root $PKG chown -R root.root $PKG
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -2,7 +2,9 @@ PRGNAM="ogmtools"
VERSION="1.5" VERSION="1.5"
HOMEPAGE="http://www.bunkus.org/videotools/ogmtools/" HOMEPAGE="http://www.bunkus.org/videotools/ogmtools/"
DOWNLOAD="http://www.bunkus.org/videotools/ogmtools/ogmtools-1.5.tar.bz2" DOWNLOAD="http://www.bunkus.org/videotools/ogmtools/ogmtools-1.5.tar.bz2"
DOWNLOAD_x86_64=""
MD5SUM="02d356e3d21d53b1d9715bab223d8996" MD5SUM="02d356e3d21d53b1d9715bab223d8996"
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia" MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net" EMAIL="nishant@mnspace.net"
APPROVED="David Somero" APPROVED="dsomero"

View file

@ -1,11 +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-----------------------------------------------------|
ogmtools: ogmtools (Ogg Media Tools) ogmtools: ogmtools (Ogg Media Tools)
ogmtools: ogmtools:
ogmtools: Tools to allow information, extraction or creation of ogmtools: Tools to allow information, extraction or creation of
ogmtools: Ogg media streams. Utilities include ogmmerge, ogminfo, ogmtools: Ogg media streams. Utilities include ogmmerge, ogminfo,
ogmtools: ogmdemux, ogmsplit, ogmcat and dvdxchap. ogmtools: ogmdemux, ogmsplit, ogmcat and dvdxchap.
ogmtools: ogmtools:
ogmtools: Packaged by Nishant Limbachia ogmtools:
ogmtools: Home Page: http://www.bunkus.org/videotools/ogmtools/ ogmtools: Homepage: http://www.bunkus.org/videotools/ogmtools/
ogmtools: ogmtools:
ogmtools: ogmtools:
ogmtools: ogmtools: