diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:25:49 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:25:49 +0200 |
commit | 96fb70f11765ef32236f20ca714048be4500bbb4 (patch) | |
tree | caa466ab6069a9a8cc5840f043b1f7fdc43f0ffa /development/yasm | |
parent | 686ccd2d5db5cb2c99867062a3226a9c914c1a4d (diff) |
development/yasm: Updated for version 0.8.0
Diffstat (limited to 'development/yasm')
-rw-r--r-- | development/yasm/yasm.SlackBuild | 14 | ||||
-rw-r--r-- | development/yasm/yasm.info | 2 |
2 files changed, 11 insertions, 5 deletions
diff --git a/development/yasm/yasm.SlackBuild b/development/yasm/yasm.SlackBuild index 8a735dbc71da2..2e3dd22dfdda4 100644 --- a/development/yasm/yasm.SlackBuild +++ b/development/yasm/yasm.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 set -e @@ -58,13 +61,13 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --enable-python \ --enable-python-bindings \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -75,12 +78,13 @@ make install-strip DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS AUTHORS ChangeLog COPYING GNU_* INSTALL NEWS README *.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ABOUT-NLS AUTHORS ChangeLog COPYING GNU_* INSTALL NEWS README *.txt \ + $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.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/yasm/yasm.info b/development/yasm/yasm.info index 67c7b62425a58..ee29b1b682d6f 100644 --- a/development/yasm/yasm.info +++ b/development/yasm/yasm.info @@ -3,6 +3,8 @@ VERSION="0.8.0" HOMEPAGE="http://www.tortall.net/projects/yasm/" DOWNLOAD="http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz" MD5SUM="84a72204c9b452a00b39b1b00495163f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="ppr:kut" EMAIL="pprkut@liwjatan.at" APPROVED="dsomero" |