summaryrefslogtreecommitdiff
path: root/network/feedparser/feedparser.SlackBuild
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-13 00:36:25 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:36:25 +0200
commit5070523d725d0b6c2acb79c78b68bb3e3f515dc6 (patch)
tree8b1b209437dea90ff9099140e745420c92e733d2 /network/feedparser/feedparser.SlackBuild
parenta4d9bf3562ecdfc62b31d2cab6b1b0945f3276fd (diff)
downloadslackbuilds-5070523d725d0b6c2acb79c78b68bb3e3f515dc6.tar.gz
network/feedparser: Updated for version 4.1
Diffstat (limited to 'network/feedparser/feedparser.SlackBuild')
-rw-r--r--network/feedparser/feedparser.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/network/feedparser/feedparser.SlackBuild b/network/feedparser/feedparser.SlackBuild
index f92d8f867b..4097359291 100644
--- a/network/feedparser/feedparser.SlackBuild
+++ b/network/feedparser/feedparser.SlackBuild
@@ -27,6 +27,7 @@ VERSION=4.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -64,8 +65,10 @@ python setup.py build || exit 1
python setup.py install --root $PKG || exit 1
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -77,4 +80,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}