-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuse.make
73 lines (62 loc) · 1.89 KB
/
fuse.make
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
69
70
71
72
73
# -*-makefile-*-
#
# Copyright (C) 2007 by Luotao Fu <[email protected]>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_FUSE) += fuse
#
# Paths and names
#
FUSE_VERSION := 2.9.3
FUSE_MD5 := 33cae22ca50311446400daf8a6255c6a
FUSE := fuse-$(FUSE_VERSION)
FUSE_SUFFIX := tar.gz
FUSE_URL := $(call ptx/mirror, SF, fuse/$(FUSE).$(FUSE_SUFFIX))
FUSE_SOURCE := $(SRCDIR)/$(FUSE).$(FUSE_SUFFIX)
FUSE_DIR := $(BUILDDIR)/$(FUSE)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
FUSE_PATH := PATH=$(CROSS_PATH)
FUSE_ENV := $(CROSS_ENV)
#
# autoconf
#
# don't use := here
#
FUSE_AUTOCONF = \
$(CROSS_AUTOCONF_USR) \
--disable-example \
--disable-mtab \
--disable-rpath \
--without-libiconv-prefix \
--$(call ptx/endis, PTXCONF_FUSE__LIB)-lib \
--$(call ptx/endis, PTXCONF_FUSE__UTIL)-util
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/fuse.targetinstall:
@$(call targetinfo)
@$(call install_init, fuse)
@$(call install_fixup, fuse,PRIORITY,optional)
@$(call install_fixup, fuse,SECTION,base)
@$(call install_fixup, fuse,AUTHOR,"Robert Schwebel <[email protected]>")
@$(call install_fixup, fuse,DESCRIPTION,missing)
ifdef PTXCONF_FUSE__LIB
@$(call install_lib, fuse, 0, 0, 0644, libfuse)
@$(call install_lib, fuse, 0, 0, 0644, libulockmgr)
endif
ifdef PTXCONF_FUSE__UTIL
@$(call install_copy, fuse, 0, 0, 0755, -, /usr/bin/fusermount)
@$(call install_copy, fuse, 0, 0, 0755, -, /usr/bin/ulockmgr_server)
endif
@$(call install_finish, fuse)
@$(call touch)
# vim: syntax=make