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
|
# -*-makefile-*-
#
# Copyright (C) 2018 by Clemens Gruber <clemens.gruber@pqgruber.com>
#
# 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_NPTH) += npth
#
# Paths and names
#
NPTH_VERSION := 1.5
NPTH_MD5 := 9ba2dc4302d2f32c66737c43ed191b1b
NPTH := npth-$(NPTH_VERSION)
NPTH_SUFFIX := tar.bz2
NPTH_URL := ftp://ftp.gnupg.org/gcrypt/npth/$(NPTH).$(NPTH_SUFFIX)
NPTH_SOURCE := $(SRCDIR)/$(NPTH).$(NPTH_SUFFIX)
NPTH_DIR := $(BUILDDIR)/$(NPTH)
NPTH_LICENSE := LGPL-2.1-only
NPTH_LICENSE_FILES := \
file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
NPTH_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-tests \
--enable-build-timestamp="$(PTXDIST_BUILD_TIMESTAMP)"
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/npth.targetinstall:
@$(call targetinfo)
@$(call install_init, npth)
@$(call install_fixup, npth,PRIORITY,optional)
@$(call install_fixup, npth,SECTION,base)
@$(call install_fixup, npth,AUTHOR,"Clemens Gruber")
@$(call install_fixup, npth,DESCRIPTION,"The new GNU portable threads library")
@$(call install_lib, npth, 0, 0, 0644, libnpth)
@$(call install_finish, npth)
@$(call touch)
# vim: syntax=make
|