From b2c958f60d12849da61bcc76259ae25ea13aea70 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Jan 2013 09:51:52 +0100 Subject: [PATCH] nasm: update to 2.10.07. --- srcpkgs/nasm/template | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/srcpkgs/nasm/template b/srcpkgs/nasm/template index f71feabac5b..b7b2f71a3cd 100644 --- a/srcpkgs/nasm/template +++ b/srcpkgs/nasm/template @@ -1,20 +1,28 @@ # Template file for 'nasm' pkgname=nasm -version=2.05 -distfiles=" -http://www.nasm.us/pub/nasm/releasebuilds/$version/$pkgname-$version.tar.bz2" -build_style=gnu-configure -make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version" +version=2.10.07 revision=1 makedepends="groff perl" -fulldepends="glibc" -short_desc="The Netwide Assembler" +short_desc="An 80x86 assembler designed for portability and modularity" maintainer="Juan RP " -checksum=2fd98d6feb2f3ce25ca5f12a593c625b767104619de4ccd59778793cc055c2d2 -long_desc=" - The Netwide Assembler, NASM, is an 80x86 assembler designed for portability - and modularity. It supports a range of object file formats, including Linux - a.out and ELF, NetBSD/FreeBSD, COFF, Microsoft 16-bit OBJ and Win32. It will - also output plain binary files. Its syntax is designed to be simple and easy - to understand, similar to Intel's but less complex." +homepage="http://www.nasm.us" +license="BSD" +distfiles="http://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.bz2" +checksum=c056e2abc83816892e448f9e9e95a3d21e9e096f44341b9d4853f62a443bba82 +do_configure() { + ./configure ${CONFIGURE_SHARED_ARGS} +} + +do_build() { + make ${makejobs} + make ${makejobs} -C doc info +} + +do_install() { + make INSTALLROOT=${DESTDIR} install install_rdf + vmkdir usr/share/info + install -m644 doc/info/* ${DESTDIR}/usr/share/info + touch ${DESTDIR}/usr/share/info/dir + vinstall LICENSE 644 usr/share/licenses/nasm +}