talimat 653 B

12345678910111213141516171819202122232425262728
  1. # Tanım: Anti-Grain Geometry (AGG) 2D grafik kütüphanesi
  2. # URL: http://www.antigrain.com/
  3. # Paketçi: milisarge
  4. # Gerekler: sdl xorg-libx11 freetype
  5. # Grup: kütüphane
  6. isim=agg
  7. surum=2.5
  8. devir=1
  9. kaynak=(http://www.antigrain.com/$isim-$surum.tar.gz
  10. agg-2.5-libtool.patch)
  11. derle() {
  12. cd $isim-$surum
  13. CXXFLAGS="${CXXFLAGS//-flto/}" LDFLAGS="${LDFLAGS//-flto/}"
  14. sed -i -e 's|AM_C_PROTOTYPES|#AM_C_PROTOTYPES|g' configure.in
  15. # http://www.hugovil.com/repository/hvlinux/patches/agg-2.5-libtool.patch
  16. patch -p 1 -i $SRC/agg-2.5-libtool.patch
  17. chmod u+x autogen.sh
  18. ./autogen.sh
  19. ./configure --prefix=/usr
  20. make -j1
  21. make DESTDIR=$PKG install
  22. }