ltp: update to latest
[openadk.git] / package / objconv / Makefile
blob806229ef91a97430957fd97285d7c54e95ec450f
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= objconv
7 PKG_VERSION:= 2.16
8 PKG_RELEASE:= 1
9 PKG_HASH:= 4190c577ee973ef7895b2498cd4a1f3dd8d7bef31db2a0867a42f9f98614cb78
10 PKG_DESCR:= converting object files between binary formats
11 PKG_SECTION:= dev/tools
12 PKG_SITES:= https://github.com/vertis/objconv/archive/
13 DISTFILES:= $(PKG_VERSION).tar.gz
15 PKG_CFLINE_OBJCONV:= depends on ADK_HOST_ONLY
17 include $(ADK_TOPDIR)/mk/host.mk
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call HOST_template,OBJCONV,objconv,$(PKG_VERSION)-${PKG_RELEASE}))
22 HOST_STYLE:= manual
24 host-build:
25 $(HOST_CXX) -O2 -o ${WRKBUILD}/objconv ${WRKBUILD}/src/*.cpp
27 objconv-hostinstall:
28 ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
29 ${INSTALL_BIN} ${WRKBUILD}/objconv ${STAGING_HOST_DIR}/usr/bin
31 include ${ADK_TOPDIR}/mk/host-bottom.mk
32 include ${ADK_TOPDIR}/mk/pkg-bottom.mk