summaryrefslogtreecommitdiff
path: root/business/ledger/ledger.SlackBuild
diff options
context:
space:
mode:
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