diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-27 14:27:45 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-27 14:27:45 +0200 |
commit | e750323c87c297897ba2c3d3b307c66286a1168c (patch) | |
tree | 4271b9ad1e30643e5259531900799f43f13ea0d9 /package/unzip/Makefile | |
parent | 883823056de84e3ee5288ccf39818db887f25f79 (diff) |
xbmc checks for unzip/zip
Diffstat (limited to 'package/unzip/Makefile')
-rw-r--r-- | package/unzip/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/package/unzip/Makefile b/package/unzip/Makefile new file mode 100644 index 000000000..a5b83d4b0 --- /dev/null +++ b/package/unzip/Makefile @@ -0,0 +1,46 @@ +# 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:= unzip +PKG_VERSION:= 6.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 62b490407489521db863b523a7f86375 +PKG_DESCR:= zip extraction utility +PKG_SECTION:= archive +PKG_URL:= http://www.info-zip.org/UnZip.html +PKG_SITES:= http://downloads.sourceforge.net/infozip/ + +DISTFILES:= ${PKG_NAME}60.tar.gz +WRKDIST= ${WRKDIR}/${PKG_NAME}60 + +include ${TOPDIR}/mk/host.mk +include $(TOPDIR)/mk/package.mk + +$(eval $(call HOST_template,UNZIP,unzip,$(PKG_VERSION)-${PKG_RELEASE})) +$(eval $(call PKG_template,UNZIP,unzip,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +HOST_STYLE:= manual +CONFIG_STYLE:= manual +INSTALL_STYLE:= manual + +TARGET_CPPFLAGS+= -DNO_BZIP2_SUPPORT +CONFIGURE_PROG:= unix/configure +MAKE_FILE:= unix/Makefile +ALL_TARGET:= generic_gcc + +host-build: + (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \ + ${HOST_MAKE_FLAGS} ${ALL_TARGET}) + +unzip-hostinstall: + $(CP) $(WRKBUILD)/unzip \ + $(STAGING_HOST_DIR)/usr/bin + +unzip-install: + $(INSTALL_DIR) $(IDIR_UNZIP)/usr/bin + $(INSTALL_BIN) $(WRKBUILD)/unzip $(IDIR_UNZIP)/usr/bin + +include ${TOPDIR}/mk/host-bottom.mk +include ${TOPDIR}/mk/pkg-bottom.mk |