summaryrefslogtreecommitdiffstats
path: root/rules/libtar.make
blob: bdeb535acc59fa0ca89380074935cb58f17e654b (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
55
56
57
58
59
60
61
62
# -*-makefile-*-
#
# Copyright (C) 2014 by Alexander Dahl <post@lespocky.de>
#
# 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_LIBTAR) += libtar

#
# Paths and names
#
LIBTAR_VERSION	:= 1.2.20
LIBTAR_MD5	:= dcdcdf8cfbbd3df3862198b0897071b6
LIBTAR		:= libtar-$(LIBTAR_VERSION)
LIBTAR_SUFFIX	:= tar.gz
LIBTAR_URL	:= git://repo.or.cz/libtar.git;tag=v$(LIBTAR_VERSION)
LIBTAR_SOURCE	:= $(SRCDIR)/$(LIBTAR).$(LIBTAR_SUFFIX)
LIBTAR_DIR	:= $(BUILDDIR)/$(LIBTAR)
LIBTAR_LICENSE	:= unknown

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

#LIBTAR_CONF_ENV	:= $(CROSS_ENV)

#
# autoconf
#
LIBTAR_CONF_TOOL	:= autoconf
LIBTAR_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
	--disable-encap \
	--disable-epkg-install \
	--with-zlib=$(SYSROOT)

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

$(STATEDIR)/libtar.targetinstall:
	@$(call targetinfo)

	@$(call install_init, libtar)
	@$(call install_fixup, libtar,PRIORITY,optional)
	@$(call install_fixup, libtar,SECTION,base)
	@$(call install_fixup, libtar,AUTHOR,"Alexander Dahl <post@lespocky.de>")
	@$(call install_fixup, libtar,DESCRIPTION,missing)

	@$(call install_lib, libtar, 0, 0, 0644, libtar)

	@$(call install_finish, libtar)

	@$(call touch)

# vim: ft=make noet