mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/yasm: Updated for version 1.0.0.
This commit is contained in:
parent
7f776bc9ff
commit
ed476a1a24
3 changed files with 20 additions and 11 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue