summaryrefslogtreecommitdiff
path: root/libraries/locale-gettext/locale-gettext.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/locale-gettext/locale-gettext.SlackBuild')
-rw-r--r--libraries/locale-gettext/locale-gettext.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/locale-gettext/locale-gettext.SlackBuild b/libraries/locale-gettext/locale-gettext.SlackBuild
index fa00322eaf..b658ff1469 100644
--- a/libraries/locale-gettext/locale-gettext.SlackBuild
+++ b/libraries/locale-gettext/locale-gettext.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for locale-gettext perl module
-# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,9 @@
PRGNAM=locale-gettext
VERSION=1.05
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -36,14 +37,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf gettext-$VERSION
-tar -xzvf $CWD/gettext-$VERSION.tar.gz || exit 1
+tar xvf $CWD/gettext-$VERSION.tar.gz || exit 1
cd gettext-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
perl Makefile.PL PREFIX=/usr || exit 1
make || exit 1
-make install DESTDIR=$PKG || exit 1
+make pure_vendor_install DESTDIR=$PKG || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
@@ -58,7 +59,7 @@ rm -rf $PKG/usr/share
( cd $PKG
# Remove 'special' files
find . -name perllocal.pod \
- -o -name ".packlist" \
+ -o -name "\.packlist" \
-o -name "*.bs" \
| xargs rm -f
)