41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Description: Firebird için istemci kütüphanesi.
|
|
# URL: http://www.firebirdsql.org/
|
|
# Packager: milisarge
|
|
# Depends on: icu
|
|
|
|
name=freebird-client
|
|
version=2.5.7.27050
|
|
release=1
|
|
source=( http://downloads.sourceforge.net/firebird/Firebird-$version-0.tar.bz2
|
|
firebird-c++11.patch
|
|
firebird-c++14.patch)
|
|
|
|
build() {
|
|
|
|
cd $SRC/Firebird-$version-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/$name}}
|
|
|
|
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
|
|
|
|
|
|
}
|