diff options
Diffstat (limited to 'source/ap/mpg321')
-rwxr-xr-x | source/ap/mpg321/mpg321.SlackBuild | 77 | ||||
-rw-r--r-- | source/ap/mpg321/slack-desc | 19 |
2 files changed, 0 insertions, 96 deletions
diff --git a/source/ap/mpg321/mpg321.SlackBuild b/source/ap/mpg321/mpg321.SlackBuild deleted file mode 100755 index 340c3270..00000000 --- a/source/ap/mpg321/mpg321.SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA -# 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. - - -VERSION=0.2.10 -ARCH=${ARCH:-x86_64} -NUMJOBS=${NUMJOBS:-" -j7 "} -BUILD=${BUILD:-2} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp} -PKG=$TMP/package-mpg321 - -rm -rf $PKG -mkdir -p $TMP $PKG - -cd $TMP -tar xvf $CWD/mpg321-$VERSION.tar.gz || exit 1 -cd mpg321-$VERSION || exit 1 - -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --build=$ARCH-slackware-linux - -make $NUMJOBS || make || exit 1 - -strip mpg321 -mkdir -p $PKG/usr/bin -cat mpg321 > $PKG/usr/bin/mpg321 -chmod 755 $PKG/usr/bin/mpg321 -( cd $PKG/usr/bin ; rm -f mpg123 ; ln -sf mpg321 mpg123 ) - -mkdir -p $PKG/usr/man/man1 -cat mpg321.1 | gzip -9c > $PKG/usr/man/man1/mpg321.1.gz - -mkdir -p $PKG/usr/doc/mpg321-$VERSION -cp -a \ - AUTHORS BUGS COPYING ChangeLog HACKING INSTALL NEWS \ - README README.remote THANKS TODO \ - $PKG/usr/doc/mpg321-$VERSION -chown -R root:root $PKG/usr/doc/mpg321-$VERSION - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -# Build the package: -cd $PKG -/sbin/makepkg -l y -c n $TMP/mpg321-$VERSION-$ARCH-$BUILD.txz - diff --git a/source/ap/mpg321/slack-desc b/source/ap/mpg321/slack-desc deleted file mode 100644 index 81b435b5..00000000 --- a/source/ap/mpg321/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -mpg321: mpg321 (a command-line mp3 player) -mpg321: -mpg321: mpg321 is a free command-line mp3 player, which uses the mad audio -mpg321: decoding library. mpg321 is written to be a drop-in replacement for -mpg321: the mpg123 player for front-ends such as gqmpeg and programs which use -mpg321: mpg123 to decode mp3 files (like gtoaster, and other CD-recording -mpg321: software). -mpg321: -mpg321: mpg321 requires libao.so from the oggutils package. -mpg321: -mpg321: |