libraries/locale-gettext: Updated for version 1.05

This commit is contained in:
Robby Workman 2010-05-11 19:45:21 +02:00 committed by Michiel van Wessem
parent 0075bfaf08
commit 345cea0f54
4 changed files with 23 additions and 6 deletions

View file

@ -3,4 +3,3 @@ Locale::gettext perl module
This is a perl5 module quickly written to gain access to
the C library functions for internatialization. They work
just like the C versions.

View file

@ -2,7 +2,7 @@
# Slackware build script for locale-gettext perl module
# Copyright 2006 Robby Workman (http://rlworkman.net)
# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,7 +27,7 @@ VERSION=1.05
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=`pwd`
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@ -52,9 +52,16 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/share/man $PKG/usr/man
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
rm -rf $PKG/usr/share
( cd $PKG
# Remove 'special' files
find . -name perllocal.pod \
-o -name ".packlist" \
-o -name "*.bs" \
| xargs rm -f
)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -5,4 +5,4 @@ DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-1.05.tar.g
MD5SUM="f3d3f474a1458f37174c410dfef61a46"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="robw810"
APPROVED="BP{k}"

View file

@ -1,4 +1,12 @@
locale-gettext: Locale::gettext perl module
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----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
locale-gettext: the C library functions for internatialization. They work
@ -6,3 +14,6 @@ locale-gettext: just like the C versions.
locale-gettext:
locale-gettext:
locale-gettext:
locale-gettext:
locale-gettext:
locale-gettext: