summaryrefslogtreecommitdiff
path: root/business/ledger/ledger.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-08 20:44:46 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commite1cd2c94bcca51e2de5e29c0122f4a1cb37aab8a (patch)
tree7a73245e98fcc4155cfb06d27127bf078e0ba0af /business/ledger/ledger.SlackBuild
parentdf58d9e29458a4f27a40b8edc7f48ae270fdf77a (diff)
downloadslackbuilds-e1cd2c94bcca51e2de5e29c0122f4a1cb37aab8a.tar.gz
business/ledger: Patched SlackBuild.
Fixes build failure with boost-1.58 on -current. Fixes tarball extraction. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'business/ledger/ledger.SlackBuild')
-rw-r--r--business/ledger/ledger.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/business/ledger/ledger.SlackBuild b/business/ledger/ledger.SlackBuild
index 1135b1f649..fb5532d4b9 100644
--- a/business/ledger/ledger.SlackBuild
+++ b/business/ledger/ledger.SlackBuild
@@ -26,7 +26,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -36,6 +36,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
tar xvf $CWD/utfcpp.tar.gz -C lib/
+
+# Fix build with boost-1.58 (thanks to Arch Linux)
+patch -p1 < $CWD/ledger_git.diff
+
./acprep --prefix=/usr update
make install DESTDIR=$PKG