diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-06 17:11:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-08 01:41:53 +0700 |
commit | 73ea7ad7aa9bfa159532e6d993e5c84638394454 (patch) | |
tree | 1c784f94bf87204c2f58d48c800abb647e1a4185 /python/python-yenc/python-yenc.SlackBuild | |
parent | 289662417467d15824a2959e7d517df764c81f71 (diff) |
python/python-yenc: Renamed python2-yenc.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-yenc/python-yenc.SlackBuild')
-rw-r--r-- | python/python-yenc/python-yenc.SlackBuild | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/python/python-yenc/python-yenc.SlackBuild b/python/python-yenc/python-yenc.SlackBuild deleted file mode 100644 index 52e4fbc8c9b1e..0000000000000 --- a/python/python-yenc/python-yenc.SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-yenc - -# Written by powtrix (@gmail.com) - -PRGNAM=python-yenc -VERSION=${VERSION:-0.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=yenc - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -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" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {}\; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -python setup.py install --root=$PKG - -rm -f $PKG/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages/yenc-0.3-py2.6.egg-info - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES COPYING README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -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.${PKGTYPE:-tgz} |