diff --git a/dev-libs/libevent/libevent-1.4.14b.recipe b/dev-libs/libevent/libevent-1.4.14b.recipe deleted file mode 100644 index a9388647c..000000000 --- a/dev-libs/libevent/libevent-1.4.14b.recipe +++ /dev/null @@ -1,90 +0,0 @@ -SUMMARY="An event notification library" -DESCRIPTION="The libevent API provides a mechanism to execute a callback \ -function when a specific event occurs on a file descriptor or after a timeout \ -has been reached. Furthermore, libevent also support callbacks due to signals \ -or regular timeouts. - -libevent is meant to replace the event loop found in event driven network \ -servers. An application just needs to call event_dispatch() and then add or \ -remove events dynamically without having to change the event loop." -HOMEPAGE="http://www.libevent.org/" -COPYRIGHT="2000-2007 Niels Provos, 2005 Nick Mathewson, and others" -LICENSE="BSD (3-clause)" -REVISION="3" -SOURCE_URI="http://monkey.org/~provos/libevent-1.4.14b-stable.tar.gz" -CHECKSUM_SHA256="afa61b476a222ba43fc7cca2d24849ab0bbd940124400cb699915d3c60e46301" -SOURCE_DIR="libevent-${portVersion}-stable" -PATCHES="libevent-1.4.14b.patch" - -ARCHITECTURES="x86_gcc2" -SECONDARY_ARCHITECTURES="!x86" - -PROVIDES=" - libevent$secondaryArchSuffix = $portVersion - lib:libevent$secondaryArchSuffix = 2.2.0 compat >= 2 - lib:libevent_1.4$secondaryArchSuffix = 2.2.0 compat >= 2 - lib:libevent_core$secondaryArchSuffix = 2.2.0 compat >= 2 - lib:libevent_core_1.4$secondaryArchSuffix = 2.2.0 compat >= 2 - lib:libevent_extra$secondaryArchSuffix = 2.2.0 compat >= 2 - lib:libevent_extra_1.4$secondaryArchSuffix = 2.2.0 compat >= 2 - " -REQUIRES=" - haiku$secondaryArchSuffix - " - -PROVIDES_devel=" - libevent${secondaryArchSuffix}_devel = $portVersion - cmd:event_rpcgen.py - devel:libevent_1.4$secondaryArchSuffix = 2.2.0 compat >= 2 - devel:libevent_core_1.4$secondaryArchSuffix = 2.2.0 compat >= 2 - devel:libevent_extra_1.4$secondaryArchSuffix = 2.2.0 compat >= 2 - " -REQUIRES_devel=" - libevent$secondaryArchSuffix == $portVersion base - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - " -BUILD_PREREQUIRES=" - cmd:aclocal - cmd:autoconf - cmd:automake - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:libtoolize$secondaryArchSuffix - cmd:make - " - -BUILD() -{ - sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in - sed -i 's/TESTS = $(top_srcdir)/TESTS = {$sourceDir}/g' test/Makefile.am - - libtoolize --force --copy --install - aclocal - autoconf - automake --add-missing - runConfigure ./configure --disable-static - make $jobArgs -} - -INSTALL() -{ - make install - - rm $libDir/*.la - - prepareInstalledDevelLibs \ - libevent-1.4 \ - libevent_core-1.4 \ - libevent_extra-1.4 - - fixPkgconfig - - # devel package - packageEntries devel \ - $binDir \ - $developDir \ - $manDir -} diff --git a/dev-libs/libevent/libevent21-2.1.8.recipe b/dev-libs/libevent/libevent21-2.1.8.recipe deleted file mode 100644 index 9dbb407a5..000000000 --- a/dev-libs/libevent/libevent21-2.1.8.recipe +++ /dev/null @@ -1,79 +0,0 @@ -SUMMARY="An event notification library" -DESCRIPTION="The libevent API provides a mechanism to execute a callback \ -function when a specific event occurs on a file descriptor or after a \ -timeout has been reached. Furthermore, libevent also support callbacks due \ -to signals or regular timeouts. -libevent is meant to replace the event loop found in event driven network \ -servers. An application just needs to call event_dispatch() and then add or \ -remove events dynamically without having to change the event loop." -HOMEPAGE="http://www.libevent.org/" -COPYRIGHT="2000-2007 Niels Provos - 2005 Nick Mathewson, and other contributors." -LICENSE="BSD (3-clause)" -REVISION="5" -SOURCE_URI="https://github.com/libevent/libevent/releases/download/release-$portVersion-stable/libevent-$portVersion-stable.tar.gz" -CHECKSUM_SHA256="965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2" -SOURCE_DIR="libevent-${portVersion}-stable" - -ARCHITECTURES="all !x86_gcc2" -SECONDARY_ARCHITECTURES="x86" - -PROVIDES=" - libevent21${secondaryArchSuffix} = ${portVersion} - lib:libevent_2.1$secondaryArchSuffix = 6.0.2 compat >= 6 - lib:libevent_core_2.1$secondaryArchSuffix = 6.0.2 compat >= 6 - lib:libevent_extra_2.1$secondaryArchSuffix = 6.0.2 compat >= 6 - lib:libevent_openssl_2.1$secondaryArchSuffix = 6.0.2 compat >= 6 - lib:libevent_pthreads_2.1$secondaryArchSuffix = 6.0.2 compat >= 6 - " -REQUIRES=" - haiku$secondaryArchSuffix - lib:libcrypto$secondaryArchSuffix - lib:libssl$secondaryArchSuffix - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - devel:libcrypto$secondaryArchSuffix - devel:libssl$secondaryArchSuffix - devel:libz - " -BUILD_PREREQUIRES=" - cmd:aclocal - cmd:autoconf - cmd:automake - cmd:awk - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:libtoolize$secondaryArchSuffix - cmd:make - cmd:python - " - -BUILD() -{ - autoreconf -fi - - CPPFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE" \ - LDFLAGS="-lbsd -lposix_error_mapper -lnetwork" runConfigure ./configure - make $jobArgs -} - -INSTALL() -{ - make install - - rm $libDir/libevent*.la - - prepareInstalledDevelLibs \ - libevent \ - libevent_core \ - libevent_extra \ - libevent_pthreads \ - libevent_openssl - fixPkgconfig - - rm -rf \ - $binDir \ - $developDir -} diff --git a/dev-libs/libevent/patches/libevent-1.4.14b.patch b/dev-libs/libevent/patches/libevent-1.4.14b.patch deleted file mode 100644 index 67fba7509..000000000 --- a/dev-libs/libevent/patches/libevent-1.4.14b.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur libevent-1.4.14b-stable/configure.in libevent-1.4.14b-stable-haiku/configure.in ---- libevent-1.4.14b-stable/configure.in 2009-05-24 13:37:49.000000000 +0000 -+++ libevent-1.4.14b-stable-haiku/configure.in 2009-05-28 16:55:17.000000000 +0000 -@@ -33,7 +33,7 @@ - AC_SUBST(LIBTOOL_DEPS) - - dnl Checks for libraries. --AC_CHECK_LIB(socket, socket) -+AC_SEARCH_LIBS(socket, socket network) - AC_CHECK_LIB(resolv, inet_aton) - AC_CHECK_LIB(rt, clock_gettime) - AC_CHECK_LIB(nsl, inet_ntoa)