summaryrefslogtreecommitdiff
path: root/business/ledger/ledger.SlackBuild
diff options
context:
space:
mode:
authorsimotrone <simotrone@gmail.com>2017-12-19 08:30:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-19 08:30:34 +0700
commit55071c58f253b3e6486352782916a12a28d98b39 (patch)
treec61e50a3aa9fe59e7f3231cc1a7b10d861f78678 /business/ledger/ledger.SlackBuild
parentd6682e8ac3f20d76db33adfb2763d072a78dbbfc (diff)
downloadslackbuilds-55071c58f253b3e6486352782916a12a28d98b39.tar.gz
business/ledger: Updated for version 3.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'business/ledger/ledger.SlackBuild')
-rw-r--r--business/ledger/ledger.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/business/ledger/ledger.SlackBuild b/business/ledger/ledger.SlackBuild
index fb5532d4b9..18c0690efc 100644
--- a/business/ledger/ledger.SlackBuild
+++ b/business/ledger/ledger.SlackBuild
@@ -3,13 +3,13 @@
# Written by Lionel Young (redtricycle at gmail dot com)
PRGNAM=ledger
-VERSION=${VERSION:-3.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.1.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -26,7 +26,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -35,11 +35,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-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