Signed-off-by: Alexander Stein <alexander.st...@systec-electronic.com> --- rules/libassuan.in | 13 ++++++++++ rules/libassuan.make | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 rules/libassuan.in create mode 100644 rules/libassuan.make
diff --git a/rules/libassuan.in b/rules/libassuan.in new file mode 100644 index 0000000..18dbfa8 --- /dev/null +++ b/rules/libassuan.in @@ -0,0 +1,13 @@ +## SECTION=system_libraries + +config LIBASSUAN + tristate + prompt "libassuan" + select LIBGPG_ERROR + help + IPC library used by GnuPG and GPGME + + libassuan is a small library implementing the so-called + Assuan protocol. This protocol is used for IPC between + most newer GnuPG components. Both, server and client + side functions are provided. diff --git a/rules/libassuan.make b/rules/libassuan.make new file mode 100644 index 0000000..961609c --- /dev/null +++ b/rules/libassuan.make @@ -0,0 +1,66 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by Alexander Stein <alexander.st...@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_LIBASSUAN) += libassuan + +# +# Paths and names +# +LIBASSUAN_VERSION := 2.0.0 +LIBASSUAN := libassuan-$(LIBASSUAN_VERSION) +LIBASSUAN_SUFFIX := tar.bz2 +LIBASSUAN_URL := ftp://ftp.gnupg.org/gcrypt/libassuan/$(LIBASSUAN).$(LIBASSUAN_SUFFIX) +LIBASSUAN_SOURCE := $(SRCDIR)/$(LIBASSUAN).$(LIBASSUAN_SUFFIX) +LIBASSUAN_DIR := $(BUILDDIR)/$(LIBASSUAN) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(LIBASSUAN_SOURCE): + @$(call targetinfo) + @$(call get, LIBASSUAN) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBASSUAN_PATH := PATH=$(CROSS_PATH) +LIBASSUAN_ENV := $(CROSS_ENV) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libassuan.targetinstall: + @$(call targetinfo) + + @$(call install_init, libassuan) + @$(call install_fixup, libassuan,PACKAGE,libassuan) + @$(call install_fixup, libassuan,PRIORITY,optional) + @$(call install_fixup, libassuan,VERSION,$(LIBASSUAN_VERSION)) + @$(call install_fixup, libassuan,SECTION,base) + @$(call install_fixup, libassuan,AUTHOR,"Alexander Stein") + @$(call install_fixup, libassuan,DEPENDS,) + @$(call install_fixup, libassuan,DESCRIPTION,missing) + + @$(call install_copy, libassuan, 0, 0, 0644, -, \ + /usr/lib/libassuan.so.0.0.0) + @$(call install_link, libassuan, libassuan.so.11.5.3, /usr/lib/libassuan.so.0) + @$(call install_link, libassuan, libassuan.so.11.5.3, /usr/lib/libassuan.so) + + @$(call install_finish, libassuan) + + @$(call touch) + +# vim: syntax=make -- 1.7.1.1 -- ptxdist mailing list ptxdist@pengutronix.de