mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 01:22:13 +00:00
5afe5c9031
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=nasm
|
|
PKG_VERSION:=2.16.01
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_URL:=https://www.nasm.us/pub/nasm/releasebuilds/$(PKG_VERSION)/
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_HASH:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558
|
|
|
|
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:nasm:netwide_assembler
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_INSTALL:=1
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/nasm
|
|
SECTION:=devel
|
|
CATEGORY:=Development
|
|
TITLE:=nasm assembler
|
|
DEPENDS:=@TARGET_x86
|
|
endef
|
|
|
|
define Package/nasm/description
|
|
NASM, the Netwide Assembler: an assembler targetting the
|
|
Intel x86 series of processors, with portable source.
|
|
endef
|
|
|
|
CONFIGURE_ARGS += --disable-lto --disable-werror --disable-gdb
|
|
|
|
define Package/nasm/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ndisasm $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nasm $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,nasm))
|