mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Co-authored-by: Jérôme Duval <jerome.duval@gmail.com> Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com>
59 lines
1.5 KiB
Bash
59 lines
1.5 KiB
Bash
SUMMARY="Drivers for the database-independent abstraction layer written in C"
|
|
DESCRIPTION="libdbi implements a database-independent abstraction layer in C, similar to the \
|
|
DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of \
|
|
multiple DBs and multiple simultaneous DB connections by using this framework."
|
|
HOMEPAGE="https://libdbi-drivers.sourceforge.net/"
|
|
COPYRIGHT="2001-2013, David Parker, Mark Tobenkin, Markus Hoenicka"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sourceforge.net/projects/libdbi-drivers/files/libdbi-drivers/libdbi-drivers-$portVersion/libdbi-drivers-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="43d2eacd573a4faff296fa925dd97fbf2aedbf1ae35c6263478210c61004c854"
|
|
SOURCE_DIR="libdbi-drivers-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libdbi_drivers$secondaryArchSuffix = $portVersion
|
|
lib:libdbdsqlite3$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libdbi$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libdbi$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -if
|
|
runConfigure ./configure \
|
|
--disable-static \
|
|
--with-sqlite3 \
|
|
--with-dbi-libdir=$libDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/dbd/*.la
|
|
|
|
mkdir -p $developDocDir
|
|
mv $dataDir/doc/libdbi*/* $developDocDir
|
|
rm -rf $dataDir/doc
|
|
}
|