network/twitter-cmdline: Updated for version 1.03

This commit is contained in:
Marco Bonetti 2010-05-13 00:38:31 +02:00 committed by David Somero
parent 33fc213341
commit eb66e8abaf
2 changed files with 16 additions and 5 deletions

View file

@ -25,8 +25,8 @@
PRGNAM=twitter-cmdline
SRCNAM=twitter
VERSION=1.03
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -35,6 +35,14 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="README"
if [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
set -e
rm -rf $PKG
@ -55,8 +63,8 @@ find . \
# If you prefer cleartext authentication, feel free to comment this out.
zcat $CWD/https.patch.gz | patch -p1
install -d $PKG/usr/bin/ $PKG/usr/lib/perl5/vendor_perl/5.10.0/
install -m 0644 Twitter.pm $PKG/usr/lib/perl5/vendor_perl/5.10.0/
install -d $PKG/usr/bin/ $PKG/usr/lib$LIBDIRSUFFIX/perl5/vendor_perl/5.10.0/
install -m 0644 Twitter.pm $PKG/usr/lib$LIBDIRSUFFIX/perl5/vendor_perl/5.10.0/
install -m 0755 twitter.pl $PKG/usr/bin/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@ -67,4 +75,5 @@ 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}

View file

@ -3,6 +3,8 @@ VERSION="1.03"
HOMEPAGE="http://gabrielcain.com/projects/twitter/"
DOWNLOAD="http://gabrielcain.com/projects/twitter/twitter-cmdline-1.03.tar.gz"
MD5SUM="8a439e3e53fa0c3c2a4e9e6998d29b4c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"