2013-06-21 06:17:14 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cloop
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-08-01 20:21:09 +08:00
|
|
|
CLOOP_VERSION = 3.14.1.2
|
|
|
|
CLOOP_SOURCE = cloop_$(CLOOP_VERSION).tar.xz
|
|
|
|
CLOOP_SITE = http://snapshot.debian.org/archive/debian/20150503T155713Z/pool/main/c/cloop
|
2017-03-30 21:43:32 +08:00
|
|
|
CLOOP_LICENSE = GPL-2.0 (module), GPL-2.0+ (advancecomp)
|
2014-07-04 04:00:38 +08:00
|
|
|
CLOOP_LICENSE_FILES = README advancecomp-1.15/COPYING
|
2010-03-03 05:35:44 +08:00
|
|
|
|
|
|
|
HOST_CLOOP_DEPENDENCIES = host-zlib
|
|
|
|
|
|
|
|
define HOST_CLOOP_BUILD_CMDS
|
2019-08-01 20:21:08 +08:00
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \
|
|
|
|
CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE"
|
2010-03-03 05:35:44 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_CLOOP_INSTALL_CMDS
|
2017-07-05 19:14:19 +08:00
|
|
|
$(INSTALL) -m 0755 -d $(HOST_DIR)/bin
|
|
|
|
$(INSTALL) -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/bin
|
|
|
|
$(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/bin
|
2010-03-03 05:35:44 +08:00
|
|
|
endef
|
|
|
|
|
2012-07-03 06:06:54 +08:00
|
|
|
$(eval $(host-generic-package))
|