summaryrefslogtreecommitdiff
path: root/package/axfsutils/axfsutils.mk
blob: 3e6ea52838c901a40d37b358032057a59daf0a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
################################################################################
#
# axfsutils
#
################################################################################

AXFSUTILS_VERSION = f26ae785e33df76f658b71ef2cfbc7f511ff875d
AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION))
AXFSUTILS_LICENSE = GPLv2
AXFSUTILS_LICENSE_FILES = mkfs.axfs-legacy/COPYING
AXFSUTILS_DEPENDENCIES = host-zlib

# The 'new' mkfs.axfs version requires GNUstep which is not a buildroot
# prerequisite. The 'legacy' one works just as well without that requirement.
define HOST_AXFSUTILS_BUILD_CMDS
	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mkfs.axfs-legacy
endef

define HOST_AXFSUTILS_INSTALL_CMDS
	$(INSTALL) -D -m 0755 $(@D)/mkfs.axfs-legacy/mkfs.axfs \
		$(HOST_DIR)/usr/bin/mkfs.axfs
endef

$(eval $(host-generic-package))