talimat 991 B

12345678910111213141516171819202122232425262728293031323334
  1. # Tanım: OpenType metin şekillendirme motoru
  2. # URL: http://www.freedesktop.org/software/harfbuzz
  3. # Paketçi: Cihan Alkan
  4. # Gerekler: cairo glib icu freetype ragel graphite2
  5. # Grup: sistem
  6. isim=harfbuzz
  7. surum=1.5.1
  8. devir=3
  9. kaynak=(http://www.freedesktop.org/software/$isim/release/$isim-$surum.tar.bz2)
  10. derle() {
  11. cd $isim-$surum
  12. NOCONFIGURE=1 ./autogen.sh
  13. ./configure \
  14. --prefix=/usr \
  15. --with-cairo \
  16. --with-freetype \
  17. --with-glib \
  18. --with-gobject \
  19. --with-graphite2 \
  20. --with-icu
  21. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  22. make
  23. make DESTDIR=$PKG install
  24. install -Dm644 COPYING "$PKG/usr/share/licenses/harfbuzz/COPYING"
  25. mkdir -p ../hb-icu/usr/{include/harfbuzz,lib/pkgconfig}; cd ../hb-icu
  26. mv "$PKG"/usr/lib/libharfbuzz-icu* ./usr/lib
  27. mv "$PKG"/usr/lib/pkgconfig/harfbuzz-icu.pc ./usr/lib/pkgconfig
  28. mv "$PKG"/usr/include/harfbuzz/hb-icu.h ./usr/include/harfbuzz
  29. cp -r $SRC/hb-icu/* "$PKG"
  30. rm -rf $PKG/usr/share/gtk-doc
  31. }