diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2013-04-23 20:47:41 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-04-28 12:28:49 -0300 |
commit | 116a7964865f8de0873c12b36f9e2fb047923f33 (patch) | |
tree | 9f8d0f5c09dbd56988c9cf82dc3fb16cb48f4534 /libraries/libsidplay2/libsidplay2.SlackBuild | |
parent | 9ba290b047c18a49f6bf7a43ea4af27cb01435df (diff) | |
download | slackbuilds-116a7964865f8de0873c12b36f9e2fb047923f33.tar.gz |
libraries/libsidplay2: Added some debian patches.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libsidplay2/libsidplay2.SlackBuild')
-rw-r--r-- | libraries/libsidplay2/libsidplay2.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/libraries/libsidplay2/libsidplay2.SlackBuild b/libraries/libsidplay2/libsidplay2.SlackBuild index c74cb67a0d..6eca187a39 100644 --- a/libraries/libsidplay2/libsidplay2.SlackBuild +++ b/libraries/libsidplay2/libsidplay2.SlackBuild @@ -2,8 +2,8 @@ # SlackBuild script for "libsidplay2". -# Copyright 2010-2011 Marcel Saegebarth <marc@mos6581.de> -# Copyright 2011 Dominik Drobek <arcctgx@o2.pl> +# Copyright 2010-2013 Marcel Saegebarth <marc@mos6581.de> +# Copyright 2011-2012 Dominik Drobek <arcctgx@o2.pl> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -27,11 +27,11 @@ PRGNAM=libsidplay2 VERSION=${VERSION:-2.1.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} SRCNAM=sidplay-libs -DIFFVER=${DIFFVER:-8} +DIFFVER=${DIFFVER:-14} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -62,12 +62,16 @@ fi set -e -rm -rf $TMP/$PRGNAM $PKG +rm -rf $TMP/$PRGNAM $TMP/debian $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/${SRCNAM}_$VERSION.orig.tar.gz +tar xvf $CWD/${SRCNAM}_$VERSION-$DIFFVER.debian.tar.gz cd $TMP/$SRCNAM-$VERSION -zcat $CWD/${SRCNAM}_$VERSION-$DIFFVER.diff.gz | patch -p1 +patch -p1 < $TMP/debian/patches/configure-fixes.patch +patch -p1 < $TMP/debian/patches/gcc4-fixes.patch +patch -p1 < $TMP/debian/patches/hardsid_4_bsd.patch +patch -p1 < $TMP/debian/patches/pkg-config.patch chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -100,7 +104,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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 + cd $TMP/debian cp -a changelog $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog.Debian ) |