|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2009,2010,2011,2012,2015 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2009-2012,2015,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# ispermitted provided that the following conditions are met: |
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
# |
|
|
|
|
# Latest LilyPond sourcecode is available at: <http://lilypond.org/>. |
|
|
|
|
# |
|
|
|
|
# Depends: xap/fontforge, ap/t1utils, d/guile1 |
|
|
|
|
# Depends: d/guile1, xap/fontforge |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-lilypond} |
|
|
|
@ -83,8 +83,7 @@ if [ ! -r $ARCHDOC ]; then
|
|
|
|
|
wget -c -O $ARCHDOC.part "$WGETDOC" |
|
|
|
|
mv $ARCHDOC.part $ARCHDOC |
|
|
|
|
fi |
|
|
|
|
sha1sum -c $ARCHIVE.sha1 |
|
|
|
|
sha1sum -c $ARCHDOC.sha1 |
|
|
|
|
sha256sum -c checksums |
|
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) |
|
|
|
|
|
|
|
|
|
# Extract |
|
|
|
@ -92,8 +91,6 @@ cd $TMP
|
|
|
|
|
echo "Building $ARCHIVE..." |
|
|
|
|
tar xf $CWD/$ARCHIVE |
|
|
|
|
cd $NAME |
|
|
|
|
patch -p 1 < $CWD/lilypond-2.18.2-fontforge-version-check.diff |
|
|
|
|
./autogen.sh --noconf |
|
|
|
|
mkdir build && cd build |
|
|
|
|
GUILE=/usr/bin/guile1 \ |
|
|
|
|
GUILE_CONFIG=/usr/bin/guile1-config \ |
|
|
|
@ -143,6 +140,12 @@ find $PKG/usr/info -type f -exec gzip -9 '{}' \;
|
|
|
|
|
# Copy slack-desc file |
|
|
|
|
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
|
|
|
|
|
|
# Add dependency infos |
|
|
|
|
cat <<EOF > $PKG/install/slack-required |
|
|
|
|
fontforge |
|
|
|
|
guile1 |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
# Package the tree |
|
|
|
|
cd $PKG |
|
|
|
|
mkdir -p $OUT |
|
|
|
|