neon: update recipe

* Update [BUILD_]REQUIRES.
* Build separate devel package.
This commit is contained in:
Ingo Weinhold
2013-06-18 00:59:00 +02:00
parent e3454017c9
commit b3b0c712d5

View File

@@ -22,7 +22,7 @@ LICENSE="GNU LGPL v2"
COPYRIGHT="1999-2011 Joe Orton"
SRC_URI="http://www.webdav.org/neon/neon-0.29.6.tar.gz"
CHECKSUM_MD5="591e0c82e6979e7e615211b386b8f6bc"
REVISION="5"
REVISION="6"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="neon-0.29.6.patch"
@@ -33,17 +33,22 @@ PROVIDES="
"
REQUIRES="
haiku >= $haikuVersion
openssl >= 1.0.0
libxml2 >= 2.7.8
lib:libncurses
lib:libssl
lib:libxml2
lib:libz
"
BUILD_REQUIRES="
$REQUIRES
cmd:aclocal
cmd:autoconf
cmd:libtoolize
cmd:gcc
cmd:ld
cmd:make
devel:libncurses
devel:libssl >= 1.0.0
devel:libxml2 >= 2.7.8
devel:libz
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
@@ -74,7 +79,25 @@ BUILD()
INSTALL()
{
make install
prepareInstalledDevelLibs libneon
fixDevelopLibDirReferences $binDir/neon-config
fixPkgconfig
# devel package
packageEntries devel \
$binDir/neon-config \
$developDir \
$documentationDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
neon_devel = $portVersion compat >= 0.29
cmd:neon_config = $portVersion compat >= 0.29
devel:libneon = 27.2.6 compat >= 27
"
REQUIRES_devel="
neon == $portVersion base
"