summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:31:08 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:31:08 +0200
commit3ba95580581336b53bd64318200dabe624c42fba (patch)
treeb48e4eabb421ff6a8dd1f9565eb94070ad6d9ae6 /libraries
parentd4b3900d367cf9b69f214fe66933193cc5765167 (diff)
downloadslackbuilds-3ba95580581336b53bd64318200dabe624c42fba.tar.gz
libraries/libmms: Updated for version 0.5
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libmms/README2
-rw-r--r--libraries/libmms/libmms.SlackBuild13
-rw-r--r--libraries/libmms/libmms.info12
3 files changed, 16 insertions, 11 deletions
diff --git a/libraries/libmms/README b/libraries/libmms/README
index ad39be1b53..5e7937d8ce 100644
--- a/libraries/libmms/README
+++ b/libraries/libmms/README
@@ -4,4 +4,4 @@ content over the web. LibMMS itself is only for receiving MMS stream,
it doesn't handle sending at all. If you need streaming
functionality, look for other protocol, such as RT(S)P. MMS is legacy
thing, being closed with no specs and abandoned even by its creator,
-the Microsoft Corp. \ No newline at end of file
+the Microsoft Corp.
diff --git a/libraries/libmms/libmms.SlackBuild b/libraries/libmms/libmms.SlackBuild
index 6d715cf7cf..4faf1fb340 100644
--- a/libraries/libmms/libmms.SlackBuild
+++ b/libraries/libmms/libmms.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libmms
-# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmms
-VERSION=0.4
+VERSION=0.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ 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
@@ -56,11 +59,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -74,4 +77,4 @@ 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
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libmms/libmms.info b/libraries/libmms/libmms.info
index 725cd6c836..913d17ecc6 100644
--- a/libraries/libmms/libmms.info
+++ b/libraries/libmms/libmms.info
@@ -1,8 +1,10 @@
PRGNAM="libmms"
-VERSION="0.4"
+VERSION="0.5"
HOMEPAGE="https://launchpad.net/libmms"
-DOWNLOAD="http://downloads.sourceforge.net/libmms/libmms-0.4.tar.gz"
-MD5SUM="4a681a815186fe26bb1b02ccea57fb75"
-MAINTAINER="ppr:kut"
+DOWNLOAD="http://launchpad.net/libmms/trunk/0.5/+download/libmms-0.5.tar.gz"
+MD5SUM="cf83053ec891f14e73a04c84d9de08ee"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
-APPROVED="David Somero" \ No newline at end of file
+APPROVED="Erik Hanson"