You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2007-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=infozip
  9. PKG_REV:=30
  10. PKG_VERSION:=3.0
  11. PKG_RELEASE:=5
  12. PKG_SOURCE:=zip$(PKG_REV).tar.gz
  13. PKG_SOURCE_URL:=@SF/infozip
  14. PKG_HASH:=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/zip$(PKG_REV)
  16. PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
  17. PKG_LICENSE:=BSD-4-Clause
  18. PKG_LICENSE_FILES:=LICENSE
  19. PKG_INSTALL:=1
  20. PKG_BUILD_PARALLEL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/infozip
  23. SECTION:=utils
  24. CATEGORY:=Utilities
  25. TITLE:=Archiver for .zip files
  26. URL:=http://infozip.sourceforge.net/Zip.html
  27. SUBMENU:=Compression
  28. endef
  29. define Package/infozip/description
  30. This is InfoZIP's zip program. It produces files that are fully
  31. compatible with the popular PKZIP program; however, the command line
  32. options are not identical. In other words, the end result is the same,
  33. but the methods differ.
  34. endef
  35. MAKE_FLAGS += \
  36. -f unix/Makefile \
  37. prefix="$(PKG_INSTALL_DIR)/usr" \
  38. CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I. -DUNIX" \
  39. LDFLAGS2="$(TARGET_LDFLAGS)" \
  40. IZ_BZIP2="no"
  41. define Package/infozip/install
  42. $(INSTALL_DIR) $(1)/usr/bin/
  43. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  44. endef
  45. $(eval $(call BuildPackage,infozip))