summaryrefslogtreecommitdiff
path: root/tools/xz/Makefile
blob: fa4c51f92959f224df98909146b4efebbe97f7c7 (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
27
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