Initial .bep files for libgpg-error and libgcrypt.

This commit is contained in:
Scott McCreary
2010-04-27 05:18:02 +00:00
parent 2314c1cc85
commit 4939bf4666
6 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
DESCRIPTION="libgcrypt"
HOMEPAGE="http://directory.fsf.org/project/libgcrypt/"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.5.tar.gz"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND="dev-libs/libgpg-error"
BUILD {
cd libgcrypt-1.4.5
libtoolize --force --copy --install
autogen.sh
./configure --prefix=/boot/common
make
}
INSTALL {
cd libgcrypt-1.4.5
make install
}

View File

@@ -0,0 +1,5 @@
Package: libgcrypt
Version: 1.4.5
Copyright: 2000-2010 Free Software Foundation, Inc.
License: GNU LGPL v3
URL: http://directory.fsf.org/project/libgcrypt/

View File

@@ -0,0 +1,20 @@
diff -Naur libgcrypt-1.4.5/configure.ac libgcrypt-1.4.5-haiku/configure.ac
--- libgcrypt-1.4.5/configure.ac 2009-12-11 15:43:15.025165824 +0000
+++ libgcrypt-1.4.5-haiku/configure.ac 2010-04-27 00:48:26.807141376 +0000
@@ -574,12 +574,16 @@
[AC_SEARCH_LIBS(setsockopt, [socket], , , [-lnsl])])
AC_SEARCH_LIBS(setsockopt, [nsl])
+# Haiku has everything in -lnetwork
+AC_SEARCH_LIBS(socket, [network]) 
+
##################################
#### Checks for header files. ####
##################################
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h sys/select.h)
+AC_CHECK_HEADERS(sys/select.h sys/time.h)
##########################################
#### Checks for typedefs, structures, ####

View File

@@ -0,0 +1,18 @@
DESCRIPTION="libgpg-error"
HOMEPAGE="http://www.gnupg.org/related_software/libraries.en.html#lib-libgpg-error"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""
CHECKSUM_MD5="62c0d09d1e76c5b6da8fff92314c4665"
BUILD {
cd libgpg-error-1.7
autoreconf -vfi -Im4
./configure --prefix=/boot/common
make
}
INSTALL {
cd libgpg-error-1.7
make install
}