summaryrefslogtreecommitdiffstats
path: root/rules/fuse-zip.make
blob: 2e04d9d6f42cc282b4209eb94ef8bd377499a21d (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
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
# -*-makefile-*-
#
# Copyright (C) 2018 by Guillermo Rodriguez <guille.rodriguez@gmail.com>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_FUSE_ZIP) += fuse-zip

#
# Paths and names
#
FUSE_ZIP_VERSION	:= 0.4.2
FUSE_ZIP_MD5	:= 673a351e4116d5576a92d62d21208afe
FUSE_ZIP	:= fuse-zip-$(FUSE_ZIP_VERSION)
FUSE_ZIP_SUFFIX	:= tar.gz
FUSE_ZIP_URL	:= https://bitbucket.org/agalanin/fuse-zip/downloads/$(FUSE_ZIP).$(FUSE_ZIP_SUFFIX)
FUSE_ZIP_SOURCE	:= $(SRCDIR)/$(FUSE_ZIP).$(FUSE_ZIP_SUFFIX)
FUSE_ZIP_DIR	:= $(BUILDDIR)/$(FUSE_ZIP)
FUSE_ZIP_LICENSE	:= LGPL

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

FUSE_ZIP_CONF_TOOL	:= NO
FUSE_ZIP_MAKE_ENV	:= $(CROSS_ENV)
FUSE_ZIP_INSTALL_OPT	:= 'prefix=/usr' install


# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/fuse-zip.targetinstall:
	@$(call targetinfo)

	@$(call install_init, fuse-zip)
	@$(call install_fixup, fuse-zip, PRIORITY,optional)
	@$(call install_fixup, fuse-zip, SECTION,base)
	@$(call install_fixup, fuse-zip, AUTHOR,"Guillermo Rodriguez <guille.rodriguez@gmail.com>")
	@$(call install_fixup, fuse-zip, DESCRIPTION,missing)

	@$(call install_copy, fuse-zip, 0, 0, 0755, -, /usr/bin/fuse-zip)

	@$(call install_finish, fuse-zip)

	@$(call touch)

# vim: syntax=make