Work towards getting subversion with all dependencies built. The remaining

problem is that apr-util won't build yet, due to it relying on the sources of apr being around. We need support for source packages to solve that, so that will be the next step.
This commit is contained in:
Oliver Tappe
2013-04-14 22:06:31 +00:00
parent 93daa4e027
commit 66cce01b0c
7 changed files with 258 additions and 70 deletions

View File

@@ -1,22 +1,54 @@
SUMMARY="Apache Portable Runtime Library"
DESCRIPTION="The Apache Portable Runtime Library."
DESCRIPTION="
The mission of the Apache Portable Runtime (APR) project is to create
and maintain software libraries that provide a predictable and consistent
interface to underlying platform-specific implementations. The primary
goal is to provide an API to which software developers may code and be
assured of predictable if not identical behaviour regardless of the
platform on which their software is built, relieving them of the need to
code special-case conditions to work around or take advantage of
platform-specific deficiencies or features.
To give a brief overview, the primary core subsystems of APR 1.x include
the following:
- atomic operations
- dynamic Shared Object loading
- file I/O
- locks (mutexes, condition variables, etc)
- memory management (high performance allocators)
- memory-mapped files
- multicast Sockets
- network I/O
- shared memory
- thread and Process management
- various data structures (tables, hashes, priority queues, etc)
"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="http://archive.apache.org/dist/apr/apr-1.4.2.tar.gz"
CHECKSUM_MD5="fc80cb54f158c2674f9eeb47a1f672cd"
REVISION="2"
REVISION="3"
ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="apr = $portVersion compat >= 1
PROVIDES="
apr = $portVersion compat >= 1
lib:libapr = $portVersion compat >= 1
lib:libapr-1 = $portVersion compat >= 1"
REQUIRES="haiku >= $haikuVersion"
BUILD_REQUIRES="cmd:aclocal
lib:libapr-1 = $portVersion compat >= 1
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make"
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion"
cmd:make
"
BUILD_PREREQUIRES="
haiku-devel >= $haikuVersion
"
SOURCE_DIR="$portVersionedName"
@@ -24,10 +56,11 @@ BUILD()
{
libtoolize --force --copy --install
touch libtool.m4
# ./buildconf
aclocal -I build
autoconf
./configure $configureDirArgs
# TODO: fix this hack (by finding out why top_builddir seems to be unset)!
ln -sfn $sourceDir/libtool /libtool
make
}
@@ -38,7 +71,6 @@ INSTALL()
TEST()
{
cd apr-1.4.2
make test
}