summaryrefslogtreecommitdiffstats
path: root/package/cloop/cloop.mk
blob: f1c1e1c4ec651a4c5dfcc52b58d49c030164a254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CLOOP_VERSION=2.631-1
CLOOP_SOURCE=cloop_$(CLOOP_VERSION).tar.gz
CLOOP_SITE=http://debian-knoppix.alioth.debian.org/sources/

HOST_CLOOP_DEPENDENCIES = host-zlib

define HOST_CLOOP_BUILD_CMDS
 $(HOST_MAKE_ENV) $(MAKE1) \
   CFLAGS="$(HOST_CFLAGS) -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_ERROR_SILENT" -C $(@D) APPSONLY=yes
endef

define HOST_CLOOP_INSTALL_CMDS
 install -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/usr/bin
 install -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin
endef

$(eval $(call GENTARGETS,package,cloop))
$(eval $(call GENTARGETS,package,cloop,host))
OpenPOWER on IntegriCloud