diff options
Diffstat (limited to 'libraries/libsidplay2/libsidplay2.SlackBuild')
-rw-r--r-- | libraries/libsidplay2/libsidplay2.SlackBuild | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/libraries/libsidplay2/libsidplay2.SlackBuild b/libraries/libsidplay2/libsidplay2.SlackBuild index 25fa8ec291585..c74cb67a0d0c6 100644 --- a/libraries/libsidplay2/libsidplay2.SlackBuild +++ b/libraries/libsidplay2/libsidplay2.SlackBuild @@ -1,7 +1,9 @@ #!/bin/sh # SlackBuild script for "libsidplay2". -# Copyright 2010 Marcel Saegebarth <marc@mos6581.de> + +# Copyright 2010-2011 Marcel Saegebarth <marc@mos6581.de> +# Copyright 2011 Dominik Drobek <arcctgx@o2.pl> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,12 +26,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libsidplay2 -SRCNAM=sidplay-libs -DIFFVER=${DIFFVER:-7} VERSION=${VERSION:-2.1.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +SRCNAM=sidplay-libs +DIFFVER=${DIFFVER:-8} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -59,8 +62,7 @@ fi set -e -rm -rf $PKG -rm -rf $TMP/$PRGNAM +rm -rf $TMP/$PRGNAM $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/${SRCNAM}_$VERSION.orig.tar.gz @@ -83,6 +85,24 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +( cd $TMP/$SRCNAM-$VERSION/builders/hardsid-builder + mkdir $PKG/usr/doc/$PRGNAM-$VERSION/hardsid-builder + cp -a COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION/hardsid-builder + cd $TMP/$SRCNAM-$VERSION/libsidplay + mkdir $PKG/usr/doc/$PRGNAM-$VERSION/libsidplay + cp -a AUTHORS COPYING ChangeLog INSTALL README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION/libsidplay + cd $TMP/$SRCNAM-$VERSION/libsidutils + mkdir $PKG/usr/doc/$PRGNAM-$VERSION/libsidutils + cp -a AUTHORS COPYING ChangeLog INSTALL README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION/libsidutils + cd $TMP/$SRCNAM-$VERSION/resid + mkdir $PKG/usr/doc/$PRGNAM-$VERSION/resid + cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION/resid + cd $TMP/$SRCNAM-$VERSION/debian + cp -a changelog $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog.Debian +) mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |