talimat 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Tanım: Firebird için istemci kütüphanesi.
  2. # URL: http://www.firebirdsql.org/
  3. # Paketçi: milisarge
  4. # Gerekler: icu
  5. # Grup: kütüphane
  6. isim=freebird-client
  7. surum=2.5.7.27050
  8. devir=1
  9. kaynak=( http://downloads.sourceforge.net/firebird/Firebird-$surum-0.tar.bz2
  10. firebird-c++11.patch
  11. firebird-c++14.patch)
  12. derle() {
  13. cd $SRC/Firebird-$surum-0
  14. patch -Np1 -i ../firebird-c++11.patch
  15. patch -Np0 -i ../firebird-c++14.patch
  16. ./configure --prefix=/usr --with-system-icu --without-fbudf \
  17. --without-fbsbin --without-fbconf --without-fbdoc --without-fbsample \
  18. --without-fbsample-db --without-fbintl --without-fbmisc --without-fbhelp \
  19. --without-fbsecure-db --with-fbmsg=/usr/share/firebird --without-fblog \
  20. --without-fbglock --without-fbplugins
  21. CXXFLAGS+=' -fno-lifetime-dse' make -j1
  22. mkdir -p $PKG/usr/{bin,share/{firebird,licenses/$isim}}
  23. cp -R gen/firebird/{lib,include} $PKG/usr
  24. rm -f $PKG/usr/lib/libedit.a
  25. install -m644 gen/firebird/*.msg $PKG/usr/share/firebird
  26. install -m755 gen/firebird/bin/fb_config $PKG/usr/bin
  27. # Add libgds support FS#30062 FS#30282
  28. cd $PKG/usr/lib
  29. ln -s libfbclient.so libgds.so.0
  30. ln -s libfbclient.so libgds.so
  31. }