aboutsummaryrefslogtreecommitdiff
path: root/libraries/locale-gettext/locale-gettext.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:24:11 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:24:11 +0200
commit292a697a839c1c96501ffd8bc0735a1a2b2ef2ea (patch)
tree5adf97b6de8b9047bc2c7839356f86f88f812246 /libraries/locale-gettext/locale-gettext.SlackBuild
parent21f7100979ec4ab5dfcb00703fdf038c5778ddef (diff)
libraries/locale-gettext: Updated for version 1.05
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 fa00322eaf68..b658ff146951 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
)