diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2018-01-16 16:52:30 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-01-25 15:38:54 +0100 |
commit | dca1ba648533f0b60d8439de92de25f2108c7b3c (patch) | |
tree | 35f92e137db88460a7df4d67d6c83228bb411e05 /rules/npth.make | |
parent | ad42ba53e781aa435ea0baf653d08ef0f5d3dc14 (diff) | |
download | ptxdist-dca1ba648533f0b60d8439de92de25f2108c7b3c.tar.gz ptxdist-dca1ba648533f0b60d8439de92de25f2108c7b3c.tar.xz |
npth: new package
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/npth.make')
-rw-r--r-- | rules/npth.make | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/rules/npth.make b/rules/npth.make new file mode 100644 index 000000000..6dda1e361 --- /dev/null +++ b/rules/npth.make @@ -0,0 +1,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 +NPTH_LICENSE_FILES := \ + file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +NPTH_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) \ + --disable-tests \ + --enable-build-timestamp="$(PTXDIST_VERSION_YEAR)-$(PTXDIST_VERSION_MONTH)-01T00:00+0000" + +# ---------------------------------------------------------------------------- +# 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 |