Skip to contentSkip to conversation

infozip: new package

PATCH New Jan Pedersen 2 participants 2 messages Jan 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 infozip: new package

This commit adds a package for infozip, compression and file packaging/archive utility.

---
 package/Config.in          |    1 +
 package/infozip/Config.in  |   10 ++++++++++
 package/infozip/infozip.mk |   21 +++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 package/infozip/Config.in
 create mode 100644 package/infozip/infozip.mk
package/Config.in +1 -0
index bd1db6b..1c2b228 100644
@@ -14,6 +14,7 @@ endif
 source "package/lzop/Config.in"
 source "package/lzma/Config.in"
 source "package/xz/Config.in"
+source "package/infozip/Config.in"
 endmenu
 
 menu "Debugging, profiling and benchmark"
package/infozip/Config.in new file +10 -0
new file mode 100644
index 0000000..1a4b756
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_INFOZIP
+	bool "infozip"
+	help
+	  Zip is a compression and file packaging/archive utility. 
+	  Although highly compatible both with PKWARE's PKZIP and 
+	  PKUNZIP utilities for MS-DOS and with Info-ZIP's own UnZip, 
+ 	  our primary objectives have been portability and other-than-MSDOS 
+	  functionality. 
+
+	  http://infozip.sourceforge.net/Zip.html
package/infozip/infozip.mk new file +21 -0
new file mode 100644
index 0000000..5258a7a
@@ -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))
+
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 infozip: new package

Quoted 4 lines · Jan Pedersen

This commit adds a package for infozip, compression and file packaging/archive utility.

(as a reminder to Peter)

Two small remarks below.

Quoted 13 lines
---
  package/Config.in          |    1 +
  package/infozip/Config.in  |   10 ++++++++++
  package/infozip/infozip.mk |   21 +++++++++++++++++++++
  3 files changed, 32 insertions(+)

create mode 100644 package/infozip/Config.in
create mode 100644 package/infozip/infozip.mk

package/Config.in +0 -0
index bd1db6b..1c2b228 100644

package/Config.in endif · line 17

Quoted 4 lines
package/Config.in +1 -0
@@ -14,6 +14,7 @@ endif
  source "package/lzop/Config.in"
  source "package/lzma/Config.in"
  source "package/xz/Config.in"
+source "package/infozip/Config.in"

Packages should be sorted alpabetically, so before lzop.

Quoted 36 lines
package/Config.in +0 -0
  endmenu
 
  menu "Debugging, profiling and benchmark"
package/infozip/Config.in new file +10 -0
new file mode 100644
index 0000000..1a4b756
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_INFOZIP
+	bool "infozip"
+	help
+	  Zip is a compression and file packaging/archive utility.
+	  Although highly compatible both with PKWARE's PKZIP and
+	  PKUNZIP utilities for MS-DOS and with Info-ZIP's own UnZip,
+ 	  our primary objectives have been portability and other-than-MSDOS
+	  functionality.
+
+	  http://infozip.sourceforge.net/Zip.html
package/infozip/infozip.mk new file +11 -0
new file mode 100644
index 0000000..5258a7a
@@ -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
+

package/infozip/infozip.mk line 21

Quoted 10 lines
package/infozip/infozip.mk new file +10 -0
+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))
+

Redundant empty line at end of file.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F