aboutsummaryrefslogtreecommitdiff
path: root/graphics/lilypond
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2011-02-02 23:22:17 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-02 23:22:17 -0600
commit32b410d6d3d19598c86de182c1e818b862c8066e (patch)
tree0c8605f6d5a06281f550115e12f7f637cf5b69ca /graphics/lilypond
parentbbe98cc76ad5d591bbbe5b3bf14f5bc32b7789c5 (diff)
graphics/lilypond: Updated for version 2.13.46.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/lilypond')
-rw-r--r--graphics/lilypond/lilypond.SlackBuild32
-rw-r--r--graphics/lilypond/lilypond.info8
2 files changed, 20 insertions, 20 deletions
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index 6335dd635f43..63f86fa6a00d 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -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
diff --git a/graphics/lilypond/lilypond.info b/graphics/lilypond/lilypond.info
index 5b238baaa587..5aebae699486 100644
--- a/graphics/lilypond/lilypond.info
+++ b/graphics/lilypond/lilypond.info
@@ -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"