diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2010-07-21 10:50:37 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-07-21 11:19:52 +0200 |
commit | 634f0b82b1757868fdde1b24fd0d5006c7d16b17 (patch) | |
tree | 39f3ce1d0c5d7a5fde914891ef15d708252c59b4 /rules | |
parent | 2a2e525584d36a412737173b29b668ced5909f12 (diff) | |
download | ptxdist-634f0b82b1757868fdde1b24fd0d5006c7d16b17.tar.gz ptxdist-634f0b82b1757868fdde1b24fd0d5006c7d16b17.tar.xz |
[libksba] Add new package
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
[mkl: remove obsolete get stage and fixups]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/libksba.in | 15 | ||||
-rw-r--r-- | rules/libksba.make | 54 |
2 files changed, 69 insertions, 0 deletions
diff --git a/rules/libksba.in b/rules/libksba.in new file mode 100644 index 000000000..e0f248a8a --- /dev/null +++ b/rules/libksba.in @@ -0,0 +1,15 @@ +## SECTION=system_libraries + +config LIBKSBA + tristate + prompt "libksba" + select LIBGPG_ERROR + help + Libksba provides an easy API to create and parse X.509 + and CMS related objects + + libksba is a library to make the tasks of working with + X.509 certificates, CMS data and related objects more + easy. It provides a highlevel interface to the + implemented protocols and presents the data in a + consistent way. diff --git a/rules/libksba.make b/rules/libksba.make new file mode 100644 index 000000000..e8a5f3d0e --- /dev/null +++ b/rules/libksba.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by Alexander Stein <alexander.stein@systec-electronic.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_LIBKSBA) += libksba + +# +# Paths and names +# +LIBKSBA_VERSION := 1.0.7 +LIBKSBA := libksba-$(LIBKSBA_VERSION) +LIBKSBA_SUFFIX := tar.bz2 +LIBKSBA_URL := ftp://ftp.gnupg.org/gcrypt/libksba/$(LIBKSBA).$(LIBKSBA_SUFFIX) +LIBKSBA_SOURCE := $(SRCDIR)/$(LIBKSBA).$(LIBKSBA_SUFFIX) +LIBKSBA_DIR := $(BUILDDIR)/$(LIBKSBA) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBKSBA_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libksba.targetinstall: + @$(call targetinfo) + + @$(call install_init, libksba) + @$(call install_fixup, libksba,PRIORITY,optional) + @$(call install_fixup, libksba,SECTION,base) + @$(call install_fixup, libksba,AUTHOR,"Alexander Stein") + @$(call install_fixup, libksba,DESCRIPTION,missing) + + @$(call install_copy, libksba, 0, 0, 0644, -, \ + /usr/lib/libksba.so.8.9.6) + @$(call install_link, libksba, libksba.so.11.5.3, /usr/lib/libksba.so.8) + @$(call install_link, libksba, libksba.so.11.5.3, /usr/lib/libksba.so) + + @$(call install_finish, libksba) + + @$(call touch) + +# vim: syntax=make |