talimat 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Description: Firebird için istemci kütüphanesi.
  2. # URL: http://www.firebirdsql.org/
  3. # Packager: alihan-ozturk28@hotmail.com milisarge
  4. # Depends on: icu
  5. name=freebird-client
  6. version=2.5.5.26952
  7. release=1
  8. source=( http://downloads.sourceforge.net/firebird/Firebird-$version-0.tar.bz2 )
  9. build() {
  10. cd $SRC/Firebird-$version-0
  11. ./autogen.sh
  12. find ./ -name \*.sh -print0 | xargs -0 chmod +x
  13. ./configure --prefix=/usr --with-system-icu --without-fbudf \
  14. --without-fbsbin --without-fbconf --without-fbdoc --without-fbsample \
  15. --without-fbsample-db --without-fbintl --without-fbmisc --without-fbhelp \
  16. --without-fbsecure-db --with-fbmsg=/usr/share/firebird --without-fblog \
  17. --without-fbglock --without-fbplugins
  18. make -j1
  19. mkdir -p $PKG/usr/{bin,share/{firebird,licenses/$name}}
  20. cp -R gen/firebird/{lib,include} $PKG/usr
  21. rm -f $PKG/usr/lib/libedit.a
  22. install -m644 gen/firebird/*.msg $PKG/usr/share/firebird
  23. install -m755 gen/firebird/bin/fb_config $PKG/usr/bin
  24. # Add libgds support FS#30062 FS#30282
  25. cd $PKG/usr/lib
  26. ln -s libfbclient.so libgds.so.0
  27. ln -s libfbclient.so libgds.so
  28. }