================================ nasm:source=2.07-1 (previous: 2.05-1) cvc rdiff nasm -1 /weasel.rpath.org@wgl:3-devel/2.07-1 ================================ 2.07-1 Filip Brcic (brcha@xxxxxxx) Sat Jan 2 12:59:52 2010 nasm 2.07 nasm.recipe: changed Index: nasm.recipe ==================================================================== contents(size sha1) inode(mtime) --- nasm.recipe /weasel.rpath.org@wgl:3-devel/2.05-1 +++ nasm.recipe /weasel.rpath.org@wgl:3-devel/2.07-1 @@ -1,31 +1,30 @@ # -# Copyright (c) 2009 Foresight Linux -# This file is distributed under the terms of the MIT License. -# A copy is available at http://www.rpath.com/permanent/mit-license.html +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxx> +# Distributed under the terms of the GNU General Public License v3 # -class Nasm(CPackageRecipe): + +class Nasm(AutoPackageRecipe): name = 'nasm' - version = '2.05' + version = '2.07' -# buildRequires = [ 'ghostscript:runtime', 'groff:runtime', 'install-info:runtime', 'texinfo:runtime' ] - buildRequires = [ 'groff:runtime', 'install-info:runtime', 'texinfo:runtime' ] - #if Use.builddocs: - # buildRequires.extend(['espgs:runtime']) + buildRequires = [ + 'groff:runtime', + ] - def setup(r): - r.addArchive('http://www.nasm.us/pub/nasm/releasebuilds/%(version)s/nasm-%(version)s.tar.bz2') + shortDesc = 'Netwide Assembler' + longDesc = 'A groovy little assembler' + url = 'http://www.nasm.us/' + licenses = [ 'LGPL-2.1' ] + categories = [ 'System/Development' ] - #if not Use.builddocs: - # don't build .pdf file. - r.Replace(('nasm.info nasmdoc.ps nasmdoc.pdf', - 'nasm.info'), - ('nasmdoc.ps nasmdoc.pdf', ''), - 'doc/Makefile.in') + def unpack(r): + r.addArchive('http://www.nasm.us/pub/nasm/releasebuilds/%(version)s/') - r.Configure() - r.Make() - r.MakeDirs('%(bindir)s', '%(mandir)s/man1', '%(infodir)s', - '%(thisdocdir)s') - r.MakePathsInstall('docdir=%(destdir)s/%(thisdocdir)s', - installtarget='install_everything') + def make(r): + r.Make('nasmlib.o') + r.Make('all') + def makeinstall(r): + r.MakeInstall(installtarget='install install_rdf', + rootVar='INSTALLROOT') + r.Doc('AUTHORS', 'CHANGES', 'ChangeLog', 'README', 'TODO') nasm-2.07.tar.bz2: new nasm-2.05.tar.bz2: removed Committed by: brcha