diff options
author | Frank Caraballo <fecaraballo{at}gmail{dot}com> | 2010-05-13 00:33:38 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:33:38 +0200 |
commit | 8f5116594ef4469aad7de5b683d053386857a98a (patch) | |
tree | afe057a25feeb0cacdefa714828e412457455889 /libraries/tagpy/tagpy.SlackBuild | |
parent | a665e45406174f50539f2e4d5fec0118ddb6ba2c (diff) | |
download | slackbuilds-8f5116594ef4469aad7de5b683d053386857a98a.tar.gz |
libraries/tagpy: Updated for version 0.94.5
Diffstat (limited to 'libraries/tagpy/tagpy.SlackBuild')
-rw-r--r-- | libraries/tagpy/tagpy.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/tagpy/tagpy.SlackBuild b/libraries/tagpy/tagpy.SlackBuild index 5c98c9ac24..d70df4aac8 100644 --- a/libraries/tagpy/tagpy.SlackBuild +++ b/libraries/tagpy/tagpy.SlackBuild @@ -35,10 +35,13 @@ 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 rm -rf $PKG @@ -67,8 +70,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 @@ -80,4 +85,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} |