diff options
author | Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> | 2015-07-13 02:38:09 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-18 23:50:02 +0200 |
commit | 40f0c0c122bd93fc835a44d804096f7022f833be (patch) | |
tree | 5d19a52447e98ae0638f310ee0cab697df6546bc /package/quazip/quazip.mk | |
parent | c139f0cce7d78e21b67f4649541a25ae8b5251f4 (diff) | |
download | buildroot-40f0c0c122bd93fc835a44d804096f7022f833be.tar.gz buildroot-40f0c0c122bd93fc835a44d804096f7022f833be.zip |
quazip: new package
[Thomas:
- fix indentation of select BR2_PACKAGE_ZLIB in Config.in
- rewrap Config.in help text, lines were too long
- remove depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5, since
quazip/Config.in is already only included if one of Qt4 or Qt5 is
enabled.
- remove QUAZIP_SOURCE definition, since its value was the default
- add the missing zlib dependency in the .mk file
- add spaces around '=' signs when setting QUAZIP_QMAKE
- pass $(TARGET_MAKE_ENV) at install time]
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/quazip/quazip.mk')
-rw-r--r-- | package/quazip/quazip.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk new file mode 100644 index 0000000000..178a5315d6 --- /dev/null +++ b/package/quazip/quazip.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# quazip +# +################################################################################ + +QUAZIP_VERSION = 0.7.1 +QUAZIP_SITE = http://sourceforge.net/projects/quazip/files/quazip/$(QUAZIP_VERSION)/ +QUAZIP_INSTALL_STAGING = YES +QUAZIP_DEPENDENCIES = \ + zlib \ + $(if $(BR2_PACKAGE_QT),qt) \ + $(if $(BR2_PACKAGE_QT5),qt5base) +QUAZIP_LICENSE = LGPLv2.1 +QUAZIP_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_QT5),y) +QUAZIP_QMAKE = $(QT5_QMAKE) +else +QUAZIP_QMAKE = $(QT_QMAKE) +endif + +define QUAZIP_CONFIGURE_CMDS + (cd $(@D); $(TARGET_MAKE_ENV) $(QUAZIP_QMAKE) PREFIX=/usr) +endef + +define QUAZIP_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define QUAZIP_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install INSTALL_ROOT=$(STAGING_DIR) +endef + +define QUAZIP_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install INSTALL_ROOT=$(TARGET_DIR) +endef + +$(eval $(generic-package)) |