summaryrefslogtreecommitdiffstats
path: root/package/infozip/infozip.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/infozip/infozip.mk')
-rw-r--r--package/infozip/infozip.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/infozip/infozip.mk b/package/infozip/infozip.mk
new file mode 100644
index 000000000..84c4c80a0
--- /dev/null
+++ b/package/infozip/infozip.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# infozip
+#
+#############################################################
+INFOZIP_VERSION = 30
+INFOZIP_SOURCE = zip$(INFOZIP_VERSION).tgz
+INFOZIP_SITE = ftp://ftp.info-zip.org/pub/infozip/src
+INFOZIP_LICENSE = Info-ZIP
+INFOZIP_LICENSE_FILES = LICENSE
+
+define INFOZIP_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile generic
+endef
+
+define INFOZIP_INSTALL_TARGET_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
+ prefix=$(TARGET_DIR)/usr
+endef
+
+$(eval $(generic-package))