Add libyahoo2 from GCI 2012 by Alvin Tan

This commit is contained in:
Alexander von Gluck
2012-12-15 01:14:41 +00:00
parent 682b3e5c15
commit e5f8ffd526
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
DESCRIPTION="libyahoo2 - A C library for Yahoo! Messenger"
HOMEPAGE="http://libyahoo2.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/libyahoo2/files/libyahoo2/1.0.1/libyahoo2-1.0.1.tar.bz2/download"
DEPEND="glib >= 1.2.8"
REVISION="1"
CHECKSUM_MD5="e62dd7bc2dd77622cc0987a4dbf9b38c"
BUILD {
cd libyahoo2-1.0.1
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL {
cd libyahoo2-1.0.1
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="Copyright 2002-2010 The libyahoo2 Project Authors and Contributors"

View File

@@ -0,0 +1,15 @@
--- libyahoo2-1.0.1-haiku/configure.ac 2010-07-27 01:13:13.015466496 +0000
+++ libyahoo2-1.0.1/configure.ac 2012-12-11 17:26:38.095682560 +0000
@@ -43,9 +43,9 @@
# Checks for libraries.
enable_sample_client="yes"
-AC_SEARCH_LIBS(socket, socket, ,
- [AC_SEARCH_LIBS(socket, socket, LIBS="$LIBS -lnsl",
- enable_sample_client="no", -lnsl)])
+AC_SEARCH_LIBS(socket, socket network)
+AC_SEARCH_LIBS(gethostbyname2, bind nsl resolv)
+AC_CHECK_LIB(rt, clock_gettime)
# Checks for header files.
AC_HEADER_STDC