summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/files
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/libgcrypt/files
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/libgcrypt/files')
-rw-r--r--meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch b/meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch
new file mode 100644
index 0000000000..24a59787a2
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch
@@ -0,0 +1,49 @@
1Index: libgcrypt-1.2.4/configure.ac
2===================================================================
3--- libgcrypt-1.2.4.orig/configure.ac 2008-03-19 22:14:50.000000000 +0000
4+++ libgcrypt-1.2.4/configure.ac 2008-03-19 22:14:58.000000000 +0000
5@@ -807,6 +807,7 @@
6 doc/Makefile
7 src/Makefile
8 src/gcrypt.h
9+src/libgcrypt.pc
10 src/libgcrypt-config
11 tests/Makefile
12 w32-dll/Makefile
13Index: libgcrypt-1.2.4/src/libgcrypt.pc.in
14===================================================================
15--- /dev/null 1970-01-01 00:00:00.000000000 +0000
16+++ libgcrypt-1.2.4/src/libgcrypt.pc.in 2008-03-19 22:14:58.000000000 +0000
17@@ -0,0 +1,32 @@
18+# Process this file with autoconf to produce a pkg-config metadata file.
19+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation
20+# Author: Simon Josefsson
21+#
22+# This file is free software; as a special exception the author gives
23+# unlimited permission to copy and/or distribute it, with or without
24+# modifications, as long as this notice is preserved.
25+#
26+# This file is distributed in the hope that it will be useful, but
27+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
28+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29+
30+prefix=@prefix@
31+exec_prefix=@exec_prefix@
32+libdir=@libdir@
33+includedir=@includedir@
34+
35+# API info
36+api_version=@LIBGCRYPT_CONFIG_API_VERSION@
37+
38+# Misc information.
39+symmetric_ciphers=@LIBGCRYPT_CIPHERS@
40+asymmetric_ciphers=@LIBGCRYPT_PUBKEY_CIPHERS@
41+digests=@LIBGCRYPT_DIGESTS@
42+
43+Name: libgcrypt
44+Description: GNU crypto library
45+URL: http://www.gnupg.org
46+Version: @VERSION@
47+Libs: -L${libdir} -lgcrypt
48+Libs.private: -L${libdir} -lgpg-error
49+Cflags: -I${includedir}