Browse Source

fix nettle pkconfig file

Waldemar Brodkorb 10 years ago
parent
commit
a476c68cfd

+ 1 - 1
package/libnettle/Makefile

@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		libnettle
 PKG_VERSION:=		3.1
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_HASH:=		f6859d4ec88e70805590af9862b4b8c43a2d1fc7991df0a7a711b1e7ca9fc9d3
 PKG_DESCR:=		crypto library
 PKG_SECTION:=		libs/crypto

+ 5 - 5
package/libnettle/patches/patch-Makefile_in

@@ -1,8 +1,8 @@
---- nettle-2.4.orig/Makefile.in	2011-09-03 14:51:07.000000000 +0200
-+++ nettle-2.4/Makefile.in	2012-04-03 15:14:44.000000000 +0200
-@@ -14,7 +14,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = $(INSTALL_PROGRAM) -s
- MKDIR_P = @MKDIR_P@
+--- nettle-3.1.orig/Makefile.in	2015-04-07 14:00:08.000000000 -0500
++++ nettle-3.1/Makefile.in	2015-05-13 17:12:36.605171868 -0500
+@@ -17,7 +17,7 @@ OPT_HOGWEED_OBJS = @OPT_HOGWEED_OBJS@
+ 
+ OPT_NETTLE_SOURCES = @OPT_NETTLE_SOURCES@
  
 -SUBDIRS = tools testsuite examples
 +SUBDIRS = tools testsuite

+ 15 - 0
package/libnettle/patches/patch-hogweed_pc_in

@@ -0,0 +1,15 @@
+--- nettle-3.1.orig/hogweed.pc.in	2015-04-07 14:00:09.000000000 -0500
++++ nettle-3.1/hogweed.pc.in	2015-05-14 02:43:51.148857825 -0500
+@@ -11,9 +11,9 @@ Name: Hogweed
+ Description: Nettle low-level cryptographic library (public-key algorithms)
+ URL: http://www.lysator.liu.se/~nisse/nettle
+ Version: @PACKAGE_VERSION@
+-Requires: @IF_NOT_SHARED@ nettle
++Requires: nettle
+ Requires.private: @IF_SHARED@ nettle
+-Libs: -L${libdir} -lhogweed @IF_NOT_SHARED@ @LIBS@
+-Libs.private: @IF_SHARED@ @LIBS@
++Libs: -L${libdir} -lhogweed @LIBS@
++Libs.private: @LIBS@
+ Cflags: -I${includedir}
+