diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-04-18 10:27:58 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:38:23 +0200 |
commit | ed476a1a248ea7a56ff48bdf35bfaecd71571461 (patch) | |
tree | 131a026ac721b09d8cb0c9664586c094eb73c377 /development | |
parent | 7f776bc9ffdf483393d0d97751b7b29efb3c47e3 (diff) |
development/yasm: Updated for version 1.0.0.
Diffstat (limited to 'development')
-rw-r--r-- | development/yasm/README | 4 | ||||
-rw-r--r-- | development/yasm/yasm.SlackBuild | 17 | ||||
-rw-r--r-- | development/yasm/yasm.info | 10 |
3 files changed, 20 insertions, 11 deletions
diff --git a/development/yasm/README b/development/yasm/README index ef62a35d2995..5b22c98067ad 100644 --- a/development/yasm/README +++ b/development/yasm/README @@ -5,3 +5,7 @@ sets, accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging information in STABS, DWARF 2, and CodeView? 8 formats. + +Building of the pythong bindings can be enabled by passing +PYTHON_BINDINGS=yes to the script. This requires Cython, +which is also available from SlackBuilds.org. diff --git a/development/yasm/yasm.SlackBuild b/development/yasm/yasm.SlackBuild index 2e3dd22dfdda..1fac910cde00 100644 --- a/development/yasm/yasm.SlackBuild +++ b/development/yasm/yasm.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for yasm -# Copyright 2008-2009 Heinz Wiesinger <pprkut@iwjatan.at> +# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yasm -VERSION=0.8.0 +VERSION=1.0.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,6 +44,12 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi +if [ "${PYTHON_BINDINGS:-no}" = "no" ]; then + py=""; +else + py="--enable-python-bindings"; +fi + set -e rm -rf $PKG @@ -66,7 +72,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --enable-python \ - --enable-python-bindings \ + $py \ --build=$ARCH-slackware-linux make @@ -78,9 +84,8 @@ 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 diff --git a/development/yasm/yasm.info b/development/yasm/yasm.info index ee29b1b682d6..c7a9c8c56a1e 100644 --- a/development/yasm/yasm.info +++ b/development/yasm/yasm.info @@ -1,10 +1,10 @@ PRGNAM="yasm" -VERSION="0.8.0" +VERSION="1.0.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="http://www.tortall.net/projects/yasm/releases/yasm-1.0.0.tar.gz" +MD5SUM="e00627e13d30ff9238053e95bd93a8fb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="ppr:kut" +MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" -APPROVED="dsomero" +APPROVED="Erik Hanson" |