cd Firebird-${surum}-0

mkdir -p "${PKG}"/usr/{bin,share/firebird}

cp -R gen/Release/firebird/{lib,include} "${PKG}"/usr
rm -f "${PKG}"/usr/lib/libedit.a

install -m644 gen/Release/firebird/*.msg "${PKG}"/usr/share/firebird
install -m755 gen/Release/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
