aboutsummaryrefslogtreecommitdiff
path: root/libraries/locale-gettext
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
parent21f7100979ec4ab5dfcb00703fdf038c5778ddef (diff)
libraries/locale-gettext: Updated for version 1.05
Diffstat (limited to 'libraries/locale-gettext')
-rw-r--r--libraries/locale-gettext/README2
-rw-r--r--libraries/locale-gettext/locale-gettext.SlackBuild11
-rw-r--r--libraries/locale-gettext/slack-desc2
3 files changed, 8 insertions, 7 deletions
diff --git a/libraries/locale-gettext/README b/libraries/locale-gettext/README
index ac32c70e9c31f..e20531622ef6e 100644
--- a/libraries/locale-gettext/README
+++ b/libraries/locale-gettext/README
@@ -1,5 +1,5 @@
Locale::gettext perl module
This is a perl5 module quickly written to gain access to
-the C library functions for internatialization. They work
+the C library functions for internationalization. They work
just like the C versions.
diff --git a/libraries/locale-gettext/locale-gettext.SlackBuild b/libraries/locale-gettext/locale-gettext.SlackBuild
index fa00322eaf680..b658ff1469519 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
)
diff --git a/libraries/locale-gettext/slack-desc b/libraries/locale-gettext/slack-desc
index 6224698a796ab..d5bf6233f5ec0 100644
--- a/libraries/locale-gettext/slack-desc
+++ b/libraries/locale-gettext/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler----------------------------------------------|
locale-gettext: locale-gettext (Locale::gettext perl module)
locale-gettext:
locale-gettext: This is a perl5 module quickly written to gain access to