summaryrefslogtreecommitdiff
path: root/graphics/tesseract/tesseract.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail {dot} com>2010-05-13 00:28:18 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:28:18 +0200
commit63d1cdd7376435b9d821dccc147b6c311b1eebe4 (patch)
tree4bfa0b0e6934e2cafb0c4d6eaeea783b1ecfc297 /graphics/tesseract/tesseract.SlackBuild
parent622a284b9a7b0876aa9cdd387d942cc6fba6f6d3 (diff)
downloadslackbuilds-63d1cdd7376435b9d821dccc147b6c311b1eebe4.tar.gz
graphics/tesseract: Updated for version 2.03
Diffstat (limited to 'graphics/tesseract/tesseract.SlackBuild')
-rw-r--r--graphics/tesseract/tesseract.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index 63835762dd..44d5c55cff 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -86,7 +86,8 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
@@ -125,7 +126,7 @@ make install DESTDIR=$PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+ xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -142,4 +143,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}