From 3df91a14bd77540fb4a50b1b90b38e26718b17b2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Nov 2013 19:00:26 +0100 Subject: add yasm-host, remove yasm checks --- package/yasm/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'package/yasm') diff --git a/package/yasm/Makefile b/package/yasm/Makefile index 7567b5d9b..2e8f8ef01 100644 --- a/package/yasm/Makefile +++ b/package/yasm/Makefile @@ -4,20 +4,25 @@ include $(TOPDIR)/rules.mk PKG_NAME:= yasm -PKG_VERSION:= 1.1.0 +PKG_VERSION:= 1.2.0 PKG_RELEASE:= 1 -PKG_MD5SUM:= 8392e5f2235c2c2a981e1a633f2698cb +PKG_MD5SUM:= 4cfc0686cf5350dd1305c4d905eb55a6 PKG_DESCR:= Modular Assembler Project PKG_SECTION:= misc PKG_URL:= http://www.tortall.net/projects/yasm/ PKG_SITES:= http://www.tortall.net/projects/yasm/releases/ +include $(TOPDIR)/mk/host.mk include $(TOPDIR)/mk/package.mk +$(eval $(call HOST_template,YASM,yasm,$(PKG_VERSION)-${PKG_RELEASE})) $(eval $(call PKG_template,YASM,yasm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +HOST_STYLE:= auto + yasm-install: $(INSTALL_DIR) $(IDIR_YASM)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/yasm $(IDIR_YASM)/usr/bin +include ${TOPDIR}/mk/host-bottom.mk include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 1d6e936d172a92d055a39dce5cb6e7e478c8080e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Nov 2013 19:08:47 +0100 Subject: ensure that host-compile is done always before cross-compile, otherwise shit happens. not always required by package build, but for now a limitation of the buildsystem, which reuses WRKDIR --- package/yasm/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'package/yasm') diff --git a/package/yasm/Makefile b/package/yasm/Makefile index 2e8f8ef01..bd9d7d716 100644 --- a/package/yasm/Makefile +++ b/package/yasm/Makefile @@ -9,6 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 4cfc0686cf5350dd1305c4d905eb55a6 PKG_DESCR:= Modular Assembler Project PKG_SECTION:= misc +PKG_BUILDDEP:= yasm-host PKG_URL:= http://www.tortall.net/projects/yasm/ PKG_SITES:= http://www.tortall.net/projects/yasm/releases/ -- cgit v1.2.3