summaryrefslogtreecommitdiff
path: root/package/nasm/Makefile
blob: 5a92cdaec8227803083c5c9bb5b2039729cfd455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		nasm
PKG_VERSION:=		2.07
PKG_RELEASE:=		1
PKG_MD5SUM:=		84d8e009b3d2565a810ab3ddad1f4f63
PKG_DESCR:=		the netwide assembler
PKG_SECTION:=		devel
PKG_URL:=		http://sourceforge.net/projects/nasm/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=nasm/nasm%20sources/2.07/}

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,NASM,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

FAKE_FLAGS+=		INSTALLROOT=${WRKINST}

post-install:
	$(INSTALL_DIR) $(IDIR_NASM)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/nasm \
		$(IDIR_NASM)/usr/bin

include ${TOPDIR}/mk/pkg-bottom.mk