added dev-lang/nasm

This commit is contained in:
Daniel Mierswa 2008-12-05 18:14:07 +01:00
parent 5766a06766
commit 092a606466
5 changed files with 88 additions and 0 deletions

View file

@ -1,3 +1,4 @@
dev-lang
dev-libs
sys-apps
sys-libs

View file

@ -0,0 +1,21 @@
--- ./configure.in.orig 2008-12-05 17:57:11.000000000 +0100
+++ ./configure.in 2008-12-05 17:57:05.000000000 +0100
@@ -67,10 +67,14 @@
PA_ADD_CFLAGS([-pedantic])
dnl Look for programs...
-AC_CHECK_PROGS(NROFF, nroff, echo)
-AC_CHECK_PROGS(ACRODIST, acrodist, false)
-AC_CHECK_PROGS(PS2PDF, ps2pdf, false)
-AC_CHECK_PROGS(PSTOPDF, pstopdf, false)
+AC_ARG_WITH([nroff], [AS_HELP_STRING([--with-nroff], [use nroff])])
+test "$with_nroff" != no && AC_CHECK_PROGS(NROFF, nroff, echo)
+AC_ARG_WITH([acrodist], [AS_HELP_STRING([--with-acrodist], [use acrodist])])
+test "$with_acrodist" != no && AC_CHECK_PROGS(ACRODIST, acrodist, false)
+AC_ARG_WITH([ps2pdf], [AS_HELP_STRING([--with-ps2pdf], [use ps2pdf])])
+test "$with_ps2pdf" != no && AC_CHECK_PROGS(PS2PDF, ps2pdf, false)
+AC_ARG_WITH([pstopdf], [AS_HELP_STRING([--with-pstopdf], [use pstopdf])])
+test "$with_pstopdf" != no && AC_CHECK_PROGS(PSTOPDF, pstopdf, false)
dnl Checks for header files.
AC_HEADER_STDC

View file

@ -0,0 +1,18 @@
SUPPORTED_AUTOCONF=( 2.5 )
SUPPORTED_AUTOMAKE=( 1.10 )
require "${PN}" autotools
DEFAULT_SRC_PREPARE_PATCHES+=(
"${FILES}/${PNV}-automagic-deps.patch"
)
DEFAULT_SRC_CONFIGURE_PARAMS+=(
--without-acrodist
--without-ps2pdf
--without-pstopdf
)
SLOT="0"
PLATFORMS="~amd64"

View file

@ -0,0 +1,18 @@
SUPPORTED_AUTOCONF=( 2.5 )
SUPPORTED_AUTOMAKE=( 1.10 )
require "${PN}" autotools
DEFAULT_SRC_PREPARE_PATCHES+=(
"${FILES}/${PN}-2.05.01-automagic-deps.patch"
)
DEFAULT_SRC_CONFIGURE_PARAMS+=(
--without-acrodist
--without-ps2pdf
--without-pstopdf
)
SLOT="0"
PLATFORMS="~amd64"

View file

@ -0,0 +1,30 @@
MYPV="${PV/_rc/rc}"
MYPNV="${PNV/_rc/rc}"
SUMMARY="An 80x86 and x86-64 assembler designed for portability and modularity."
DESCRIPTION="
It supports a range of object file formats, including Linux and *BSD a.out,
ELF, COFF, Mach-O, Microsoft 16-bit OBJ, Win32 and Win64. 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.${PN}.us/"
DOWNLOADS="
${HOMEPAGE}/pub/${PN}/releasebuilds/${MYPV}/${MYPNV}.tar.bz2
mirror://sourceforge/${PN}/${MYPNV}.tar.bz2
"
LICENCES=""
MYOPTIONS=""
DEPENDENCIES=""
REMOTE_IDS="freshmeat:NASM - The Netwide Assembler"
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/doc/"
DEFAULT_SRC_INSTALL_PARAMS+=(
INSTALLROOT="${IMAGE}"
)
WORK="${WORKBASE}/${MYPNV}"