diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-01 09:32:10 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-01 09:32:10 +0100 |
commit | b700bbdede249dd290dc67ff2ebdaf730e3ffa6a (patch) | |
tree | 53c9e6bbdee8b73c4061d0132776791a8ab46787 /tools/xz/Makefile | |
parent | 9e358d94cc283c8022091e67fe3ca0580301a62a (diff) |
move target/tools to tools, use ADK_HOST_NEED variable to build a tool, when required. Add archivers to tools, remove prereq checks for them. Rename host_ dir in preparation for shared openadk source via nfs/smb from different host systems. Make some abi cleanup
Diffstat (limited to 'tools/xz/Makefile')
-rw-r--r-- | tools/xz/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/xz/Makefile b/tools/xz/Makefile new file mode 100644 index 000000000..fa4c51f92 --- /dev/null +++ b/tools/xz/Makefile @@ -0,0 +1,28 @@ +# 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:= xz +PKG_VERSION:= 5.0.5 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 1b7a781fb4cf8938842279bd3e8ee852 +PKG_SITES:= http://tukaani.org/xz/ + +include ../rules.mk + +install: $(WRKBUILD)/.installed + +$(WRKBUILD)/.configured: ${WRKDIST}/.prepared + (cd ${WRKBUILD}; ./configure --prefix=$(STAGING_HOST_DIR)/usr) + @touch $@ + +$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured + ${MAKE} -C ${WRKBUILD} + @touch $@ + +$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled + ${MAKE} -C ${WRKBUILD} install + @touch $@ + +include $(TOPDIR)/mk/tools.mk |