Updated libgcrypt to 1.5.0, based on bep and patch files from Cian Duffy.

This commit is contained in:
Scott McCreary
2012-06-12 03:24:11 +00:00
parent 8a5d91479b
commit e0517a37f3
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
DESCRIPTION="libgcrypt"
HOMEPAGE="http://directory.fsf.org/project/libgcrypt/"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-libs/libgpg-error > 1.8"
CHECKSUM_MD5="693f9c64d50c908bc4d6e01da3ff76d8"
BUILD {
cd libgcrypt-1.5.0
libtoolize --force --copy --install
autogen.sh
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
--enable-shared --enable-static
make
}
INSTALL {
cd libgcrypt-1.5.0
make install
}
LICENSE="GNU LGPL v3"
COPYRIGHT="2000-2010 Free Software Foundation, Inc."

View File

@@ -0,0 +1,10 @@
--- libgcrypt-1.5.0/configure.ac 2011-06-29 08:53:22.065011712 +0000
+++ libgcrypt-1.5.0-haiku/configure.ac 2012-04-09 17:24:30.365690880 +0000
@@ -619,6 +619,7 @@
AC_SEARCH_LIBS(setsockopt, [socket], ,
[AC_SEARCH_LIBS(setsockopt, [socket], , , [-lnsl])])
AC_SEARCH_LIBS(setsockopt, [nsl])
+AC_SEARCH_LIBS(socket, [network])
##################################
#### Checks for header files. ####