talimat 1011 B

123456789101112131415161718192021222324252627282930313233
  1. # Tanım: Equinox Desktop Environment için bileşen oluşturma kitaplığı
  2. # URL: http://equinox-project.org/
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: fltk1 dbus python3 ftjam xorg-libxcursor
  5. isim=edelib
  6. surum=2.1
  7. devir=1
  8. _watch="http://equinox-project.org/wiki/Download"
  9. kaynak=(http://downloads.sourceforge.net/project/ede/$isim/$surum/$isim-$surum.tar.gz
  10. edelib.3592.patch
  11. https://raw.githubusercontent.com/edeproject/edelib/master/edelib/ts/scheme.h)
  12. derle() {
  13. cd ${isim}-${surum}
  14. patch -Np1 -i "$SRC/edelib.3592.patch"
  15. cp "$SRC/scheme.h" "$SRC/edelib-$surum/edelib/ts"
  16. ./autogen.sh
  17. CFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC"
  18. CXXFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC"
  19. MAKEFLAGS="-j1"
  20. ./configure --prefix=/usr
  21. jam
  22. install -d "$PKG"/usr/{bin,lib}
  23. # errors for no good reason?
  24. jam prefix="$PKG/usr" install || true
  25. }