libraries/td_lib: Updated for version 20061029

This commit is contained in:
slakmagik 2010-05-13 00:33:40 +02:00 committed by Robby Workman
parent 929ceee73c
commit dd6d5a96f2
2 changed files with 13 additions and 2 deletions

View file

@ -17,8 +17,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
set -e
@ -36,7 +41,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./configure --prefix=/usr
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX}
make
make prefix=$PKG/usr install
@ -49,4 +58,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}

View file

@ -2,7 +2,9 @@ PRGNAM="td_lib"
VERSION="20061029"
HOMEPAGE="http://invisible-island.net/ded/ded.html"
DOWNLOAD="ftp://invisible-island.net/ded/td_lib-20061029.tgz"
DOWNLOAD_x86_64=""
MD5SUM="6397a132e26917d0881046e19c36f95b"
MD5SUM_x86_64=""
MAINTAINER="slakmagik"
EMAIL="jsun@freeshell.org"
APPROVED="rworkman"