redland: bump version, remove obsolete bep file (#1265)

This commit is contained in:
Schrijvers Luc
2017-04-01 07:06:13 +00:00
committed by Jérôme Duval
parent 7842960561
commit 5a9d104d30
2 changed files with 104 additions and 32 deletions

View File

@@ -1,32 +0,0 @@
DESCRIPTION="librdf RDF API Library"
HOMEPAGE="http://librdf.org/"
SOURCE_URI="http://download.librdf.org/source/redland-1.0.15.tar.gz"
CHECKSUM_MD5="b0deb87f3c7d3237a3d587c1e0f2f266"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND="rasqal>=0.9.29"
BUILD()
{
cd redland-1.0.15
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
--datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` \
--datadir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`\
/doc/redland
make
}
INSTALL()
{
cd redland-1.0.15
make install
}
TEST()
{
cd redland-1.0.15
make check
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2000-2011 Dave Beckett
2000-2005 University of Bristol"

View File

@@ -0,0 +1,104 @@
SUMMARY="A RDF API Library"
DESCRIPTION="Redland librdf is a library that provides a high-level \
interface for the Resource Description Framework (RDF) allowing the RDF \
graph to be parsed from XML, stored, queried and manipulated. Redland librdf \
implements each of the RDF concepts in its own class via an object based API, \
reflected into the language APIs, currently C#, Java, Perl, PHP, Python, \
Ruby and Tcl. Several classes providing functionality such as for parsers, \
storage are built as modules that can be loaded at compile or run-time as \
required."
HOMEPAGE="http://librdf.org/"
COPYRIGHT="2000-2013 Dave Beckett
2000-2005 University of Bristol"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://download.librdf.org/source/redland-$portVersion.tar.gz"
CHECKSUM_SHA256="de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
redland$secondaryArchSuffix = $portVersion
cmd:rdfproc$secondaryArchSuffix
cmd:redland_db_upgrade$secondaryArchSuffix
lib:librdf$secondaryArchSuffix = 0.0.0 compat >= 0
lib:librdf_storage_sqlite$secondaryArchSuffix
lib:librdf_storage_virtuoso$secondaryArchSuffix
"
REQUIRES="
haiku${secondaryArchSuffix}
lib:libiconv$secondaryArchSuffix
lib:libltdl$secondaryArchSuffix
lib:libodbc$secondaryArchSuffix
lib:libraptor2$secondaryArchSuffix
lib:librasqal$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
"
PROVIDES_devel="
redland${secondaryArchSuffix}_devel = $portVersion
cmd:redland_config$secondaryArchSuffix
devel:librdf$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES_devel="
redland$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
devel:libltdl$secondaryArchSuffix
devel:libodbc$secondaryArchSuffix
devel:libraptor2$secondaryArchSuffix
devel:librasqal$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:awk
cmd:bison$secondaryArchSuffix
cmd:gcc$secondaryArchSuffix
cmd:gtkdoc_check$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
mkdir -p $libDir/redland
make install
# remove libtool library files
rm $libDir/*.la
rm $libDir/redland/*.la
# prepare develop/lib
prepareInstalledDevelLibs librdf
fixPkgconfig
# devel package
packageEntries devel \
$developDir \
$binDir/redland-config
}
TEST()
{
make check
}