python3: update to 3.11.10
[openadk.git] / package / unzip / Makefile
blob72475756d420a53db705c8295115ca886cbff8cc
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:= unzip
7 PKG_VERSION:= 6.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
10 PKG_DESCR:= zip extraction utility
11 PKG_SECTION:= app/archive
12 PKG_URL:= http://www.info-zip.org/UnZip.html
13 PKG_SITES:= http://downloads.sourceforge.net/infozip/
15 DISTFILES:= ${PKG_NAME}60.tar.gz
16 WRKDIST= ${WRKDIR}/${PKG_NAME}60
18 include ${ADK_TOPDIR}/mk/host.mk
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call HOST_template,UNZIP,unzip,$(PKG_VERSION)-${PKG_RELEASE}))
22 $(eval $(call PKG_template,UNZIP,unzip,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 HOST_STYLE:= manual
25 CONFIG_STYLE:= manual
26 INSTALL_STYLE:= manual
28 TARGET_CPPFLAGS+= -DNO_BZIP2_SUPPORT
29 CONFIGURE_PROG:= unix/configure
30 MAKE_FILE:= unix/Makefile
31 ALL_TARGET:= generic_gcc
33 host-build:
34 (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
35 ${HOST_MAKE_FLAGS} ${ALL_TARGET})
37 unzip-hostinstall:
38 $(CP) $(WRKBUILD)/unzip \
39 $(STAGING_HOST_DIR)/usr/bin
41 unzip-install:
42 $(INSTALL_DIR) $(IDIR_UNZIP)/usr/bin
43 $(INSTALL_BIN) $(WRKBUILD)/unzip $(IDIR_UNZIP)/usr/bin
45 include ${ADK_TOPDIR}/mk/host-bottom.mk
46 include ${ADK_TOPDIR}/mk/pkg-bottom.mk