diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-05-13 00:38:31 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:38:31 +0200 |
commit | eb66e8abaf93ebe616246e54ad631a9b7a911060 (patch) | |
tree | 4cbfccabe48c4fc8362bdd62cd2764b4a451414c /network | |
parent | 33fc21334195b669817639f2b9b6b169804828e3 (diff) |
network/twitter-cmdline: Updated for version 1.03
Diffstat (limited to 'network')
-rw-r--r-- | network/twitter-cmdline/twitter-cmdline.SlackBuild | 19 | ||||
-rw-r--r-- | network/twitter-cmdline/twitter-cmdline.info | 2 |
2 files changed, 16 insertions, 5 deletions
diff --git a/network/twitter-cmdline/twitter-cmdline.SlackBuild b/network/twitter-cmdline/twitter-cmdline.SlackBuild index c28f65532b2a2..ea060e2c244bf 100644 --- a/network/twitter-cmdline/twitter-cmdline.SlackBuild +++ b/network/twitter-cmdline/twitter-cmdline.SlackBuild @@ -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} + diff --git a/network/twitter-cmdline/twitter-cmdline.info b/network/twitter-cmdline/twitter-cmdline.info index f43335e6fd80c..e94181b2f4975 100644 --- a/network/twitter-cmdline/twitter-cmdline.info +++ b/network/twitter-cmdline/twitter-cmdline.info @@ -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" |