2014-03-01 20:04:15 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lzip
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-02-09 20:50:13 +01:00
|
|
|
LZIP_VERSION = 1.18
|
2014-07-31 10:46:58 +02:00
|
|
|
LZIP_SITE = http://download.savannah.gnu.org/releases/lzip
|
2017-03-30 15:43:32 +02:00
|
|
|
LZIP_LICENSE = GPL-2.0+
|
2014-03-01 20:04:15 +01:00
|
|
|
LZIP_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
define LZIP_CONFIGURE_CMDS
|
2016-10-28 15:18:21 +02:00
|
|
|
(cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr \
|
2014-03-01 20:04:15 +01:00
|
|
|
$(TARGET_CONFIGURE_OPTS) )
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_LZIP_CONFIGURE_CMDS
|
2016-10-28 15:18:20 +02:00
|
|
|
(cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=/usr \
|
2014-03-01 20:04:15 +01:00
|
|
|
$(HOST_CONFIGURE_OPTS) )
|
|
|
|
endef
|
|
|
|
|
|
|
|
define LZIP_BUILD_CMDS
|
2016-10-17 18:06:37 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
2014-03-01 20:04:15 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_LZIP_BUILD_CMDS
|
2016-10-28 15:18:20 +02:00
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
2014-03-01 20:04:15 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define LZIP_INSTALL_TARGET_CMDS
|
2016-10-17 18:06:37 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
2014-03-01 20:04:15 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_LZIP_INSTALL_CMDS
|
2016-10-28 15:18:20 +02:00
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
|
2014-03-01 20:04:15 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
# It's not autotools-based
|
|
|
|
$(eval $(generic-package))
|
|
|
|
$(eval $(host-generic-package))
|