1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2014 by Jon Ringle
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
ifndef PTXCONF_ENDIAN_BIG
PACKAGES-$(PTXCONF_F2FS_TOOLS) += f2fs-tools
endif
#
# Paths and names
#
F2FS_TOOLS_VERSION := 1.14.0
F2FS_TOOLS_MD5 := df05b251ce1e9966450bb801da91d7a3
F2FS_TOOLS := f2fs-tools-$(F2FS_TOOLS_VERSION)
F2FS_TOOLS_SUFFIX := tar.gz
F2FS_TOOLS_URL := https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/$(F2FS_TOOLS).$(F2FS_TOOLS_SUFFIX)
F2FS_TOOLS_SOURCE := $(SRCDIR)/$(F2FS_TOOLS).$(F2FS_TOOLS_SUFFIX)
F2FS_TOOLS_DIR := $(BUILDDIR)/$(F2FS_TOOLS)
F2FS_TOOLS_LICENSE := GPL-2.0-or-later AND LGPL-2.1-or-later
F2FS_TOOLS_LICENSE_FILES := \
file://COPYING;md5=362b4b2594cd362b874a97718faa51d3
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
F2FS_TOOLS_CONF_ENV := \
$(CROSS_ENV) \
ac_cv_file__git=no
#
# autoconf
#
F2FS_TOOLS_CONF_TOOL := autoconf
F2FS_TOOLS_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/f2fs-tools.targetinstall:
@$(call targetinfo)
@$(call install_init, f2fs-tools)
@$(call install_fixup, f2fs-tools,PRIORITY,optional)
@$(call install_fixup, f2fs-tools,SECTION,base)
@$(call install_fixup, f2fs-tools,AUTHOR,"Jon Ringle")
@$(call install_fixup, f2fs-tools,DESCRIPTION,missing)
@$(call install_copy, f2fs-tools, 0, 0, 0755, -, /usr/sbin/mkfs.f2fs)
@$(call install_copy, f2fs-tools, 0, 0, 0755, -, /usr/sbin/fsck.f2fs)
@$(call install_lib, f2fs-tools, 0, 0, 0644, libf2fs)
@$(call install_finish, f2fs-tools)
@$(call touch)
# vim: syntax=make
|