mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
47 lines
888 B
Plaintext
47 lines
888 B
Plaintext
SUMMARY="Apache Portable Runtime Library"
|
|
DESCRIPTION="The Apache Portable Runtime Library."
|
|
HOMEPAGE="http://apr.apache.org/"
|
|
SRC_URI="http://archive.apache.org/dist/apr/apr-1.4.2.tar.gz"
|
|
CHECKSUM_MD5="fc80cb54f158c2674f9eeb47a1f672cd"
|
|
REVISION="2"
|
|
ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
PROVIDES="apr = $portVersion compat >= 1
|
|
lib:libapr = $portVersion compat >= 1
|
|
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"
|
|
|
|
SOURCE_DIR="$portVersionedName"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
touch libtool.m4
|
|
# ./buildconf
|
|
aclocal -I build
|
|
autoconf
|
|
./configure $configureDirArgs
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd apr-1.4.2
|
|
make test
|
|
}
|
|
|
|
LICENSE="Apache v2"
|
|
COPYRIGHT="2010 The Apache Software Foundation."
|