graphics/lilypond: Updated for version 2.13.46.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Kyle Guinn 2011-02-02 23:22:17 -06:00 committed by Robby Workman
parent bbe98cc76a
commit 32b410d6d3
2 changed files with 20 additions and 20 deletions

View file

@ -4,37 +4,37 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=lilypond
VERSION=2.12.3
VERSION=${VERSION:-2.13.46}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS.txt COPYING* DEDICATION HACKING INSTALL.txt LICENSE* NEWS.txt README.txt ROADMAP THANKS VERSION"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
@ -46,18 +46,19 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
chmod -R u+w,go+r-w,a-st .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
--disable-debugging
make
@ -72,8 +73,7 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS.txt COPYING DEDICATION HACKING INSTALL.txt NEWS.txt \
README.txt ROADMAP THANKS VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="lilypond"
VERSION="2.12.3"
HOMEPAGE="http://lilypond.org/web/"
DOWNLOAD="http://download.linuxaudio.org/lilypond/sources/v2.12/lilypond-2.12.3.tar.gz"
MD5SUM="2303bf5f2ea8d4628f33a68f016f3866"
VERSION="2.13.46"
HOMEPAGE="http://www.lilypond.org/"
DOWNLOAD="http://download.linuxaudio.org/lilypond/sources/v2.13/lilypond-2.13.46.tar.gz"
MD5SUM="93f37f794ee627992ea1e35247df2ddc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Kyle Guinn"