aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Rojas <jerojasro@devnull.li>2010-05-13 00:38:37 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:38:37 +0200
commit04ad2daeeb649c3666390d799712414b4820c42a (patch)
treefbbd59b91d3e7b8c4f8f3ab4aa5d73b4d5790d38
parentb04c43d6b76cdcfa3bd58fcf51f0ee1066ef7403 (diff)
network/urlgrabber: Updated for version 3.1.0
-rw-r--r--network/urlgrabber/slack-desc8
-rw-r--r--network/urlgrabber/urlgrabber.SlackBuild11
-rw-r--r--network/urlgrabber/urlgrabber.info2
3 files changed, 17 insertions, 4 deletions
diff --git a/network/urlgrabber/slack-desc b/network/urlgrabber/slack-desc
index 773bf7d77ad2b..4db16d09e4fd0 100644
--- a/network/urlgrabber/slack-desc
+++ b/network/urlgrabber/slack-desc
@@ -1,3 +1,11 @@
+# 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------------------------------------------------------|
urlgrabber: urlgrabber (python url-fetching module)
urlgrabber:
urlgrabber: urlgrabber is a pure python package that drastically simplifies the
diff --git a/network/urlgrabber/urlgrabber.SlackBuild b/network/urlgrabber/urlgrabber.SlackBuild
index a326d663270c4..75d4048bd10f7 100644
--- a/network/urlgrabber/urlgrabber.SlackBuild
+++ b/network/urlgrabber/urlgrabber.SlackBuild
@@ -24,14 +24,12 @@
# modified by Javier Rojas to fit urlgrabber
-# Exit on most errors
-set -e
-
PRGNAM=urlgrabber
VERSION=3.1.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -39,12 +37,17 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -70,4 +73,4 @@ 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/urlgrabber/urlgrabber.info b/network/urlgrabber/urlgrabber.info
index 06dfd9e4eccd9..223659646a849 100644
--- a/network/urlgrabber/urlgrabber.info
+++ b/network/urlgrabber/urlgrabber.info
@@ -2,7 +2,9 @@ PRGNAM="urlgrabber"
VERSION="3.1.0"
HOMEPAGE="http://linux.duke.edu/projects/urlgrabber/"
DOWNLOAD="http://linux.duke.edu/projects/urlgrabber/download/urlgrabber-3.1.0.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="2a92d8ce0d89c5e772a98e9b8dcd5b73"
+MD5SUM_x86_64=""
MAINTAINER="Javier Rojas"
EMAIL="jerojasro@devnull.li"
APPROVED="dsomero"