2017-03-23 14:35:49 +01:00
|
|
|
# Description: Firebird için istemci kütüphanesi.
|
2016-07-18 02:54:06 +02:00
|
|
|
# URL: http://www.firebirdsql.org/
|
2017-06-30 22:01:52 +02:00
|
|
|
# Packager: milisarge
|
2016-07-18 02:54:06 +02:00
|
|
|
# Depends on: icu
|
|
|
|
|
|
|
|
name=freebird-client
|
2017-06-30 22:01:52 +02:00
|
|
|
version=2.5.7.27050
|
2016-07-18 02:54:06 +02:00
|
|
|
release=1
|
2017-06-30 22:01:52 +02:00
|
|
|
source=( http://downloads.sourceforge.net/firebird/Firebird-$version-0.tar.bz2
|
|
|
|
firebird-c++11.patch
|
|
|
|
firebird-c++14.patch)
|
2016-07-18 02:54:06 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
|
|
|
|
cd $SRC/Firebird-$version-0
|
2017-06-30 22:01:52 +02:00
|
|
|
patch -Np1 -i ../firebird-c++11.patch
|
|
|
|
patch -Np0 -i ../firebird-c++14.patch
|
2016-07-18 02:54:06 +02:00
|
|
|
./configure --prefix=/usr --with-system-icu --without-fbudf \
|
|
|
|
--without-fbsbin --without-fbconf --without-fbdoc --without-fbsample \
|
|
|
|
--without-fbsample-db --without-fbintl --without-fbmisc --without-fbhelp \
|
|
|
|
--without-fbsecure-db --with-fbmsg=/usr/share/firebird --without-fblog \
|
|
|
|
--without-fbglock --without-fbplugins
|
2017-01-31 01:37:09 +01:00
|
|
|
|
2017-06-30 22:01:52 +02:00
|
|
|
CXXFLAGS+=' -fno-lifetime-dse' make -j1
|
2017-01-31 01:37:09 +01:00
|
|
|
|
2017-06-30 22:01:52 +02:00
|
|
|
mkdir -p $PKG/usr/{bin,share/{firebird,licenses/$name}}
|
2016-07-18 02:54:06 +02:00
|
|
|
|
|
|
|
cp -R gen/firebird/{lib,include} $PKG/usr
|
|
|
|
rm -f $PKG/usr/lib/libedit.a
|
|
|
|
|
|
|
|
install -m644 gen/firebird/*.msg $PKG/usr/share/firebird
|
|
|
|
install -m755 gen/firebird/bin/fb_config $PKG/usr/bin
|
2017-06-30 22:01:52 +02:00
|
|
|
install -m644 ${SRC}/LICENSE $PKG/usr/share/licenses/$name/LICENSE
|
2016-07-18 02:54:06 +02:00
|
|
|
|
|
|
|
# Add libgds support FS#30062 FS#30282
|
|
|
|
cd $PKG/usr/lib
|
|
|
|
ln -s libfbclient.so libgds.so.0
|
|
|
|
ln -s libfbclient.so libgds.so
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
|
|
|
2016-07-18 02:54:06 +02:00
|
|
|
}
|