41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Tanım: Firebird için istemci kütüphanesi.
|
||
# URL: http://www.firebirdsql.org/
|
||
# Paketçi: milisarge
|
||
# Gerekler: icu
|
||
|
||
isim=freebird-client
|
||
surum=2.5.7.27050
|
||
devir=1
|
||
kaynak=( http://downloads.sourceforge.net/firebird/Firebird-$surum-0.tar.bz2
|
||
firebird-c++11.patch
|
||
firebird-c++14.patch)
|
||
|
||
derle() {
|
||
|
||
cd $SRC/Firebird-$surum-0
|
||
patch -Np1 -i ../firebird-c++11.patch
|
||
patch -Np0 -i ../firebird-c++14.patch
|
||
./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
|
||
|
||
CXXFLAGS+=' -fno-lifetime-dse' make -j1
|
||
|
||
mkdir -p $PKG/usr/{bin,share/{firebird,licenses/$isim}}
|
||
|
||
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
|
||
|
||
|
||
}
|