2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Firebird için istemci kütüphanesi.
|
2016-07-18 02:54:06 +02:00
|
|
|
|
# URL: http://www.firebirdsql.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: icu
|
2016-07-18 02:54:06 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=freebird-client
|
|
|
|
|
surum=2.5.7.27050
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=( http://downloads.sourceforge.net/firebird/Firebird-$surum-0.tar.bz2
|
2017-06-30 22:01:52 +02:00
|
|
|
|
firebird-c++11.patch
|
|
|
|
|
firebird-c++14.patch)
|
2016-07-18 02:54:06 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-07-18 02:54:06 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $SRC/Firebird-$surum-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-10-28 14:10:23 +02:00
|
|
|
|
mkdir -p $PKG/usr/{bin,share/{firebird,licenses/$isim}}
|
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
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
}
|