talimat 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Tanım: VICE Commodore emülatörü
  2. # URL: http://www.viceteam.org/
  3. # Paketçi: milisarge
  4. # Gerekler: gtk2 giflib lame libpng libjpeg-turbo xorg-libxdamage xorg-libsm vte xorg-libxxf86vm xorg-fontconfig xorg-font-util libpcap libnet sdl xmlto texi2html zlib
  5. # Grup: oyun
  6. isim=vice
  7. surum=2.4
  8. devir=2
  9. kaynak=(http://downloads.sourceforge.net/project/vice-emu/releases/vice-$surum.tar.gz
  10. vice-2.4-no-fc-cache.patch
  11. vice-2.4-64bit.patch
  12. vice-2.4-giflib.patch
  13. vice-2.4-x11video.patch
  14. vice-2.4-zlib-1.2.7.patch
  15. vice-2.4-texi2html.patch
  16. vice-2.4-vice.texi.patch
  17. vice.desktop
  18. icons.tar.gz
  19. vice.sh)
  20. derle() {
  21. cd vice-$surum
  22. patch -p1 < $SRC/vice-2.4-no-fc-cache.patch || return
  23. patch -p1 < $SRC/vice-2.4-64bit.patch || return
  24. patch -p1 < $SRC/vice-2.4-giflib.patch || return
  25. patch -p1 < $SRC/vice-2.4-x11video.patch || return
  26. patch -p1 < $SRC/vice-2.4-zlib-1.2.7.patch || return
  27. patch -p1 < $SRC/vice-2.4-vice.texi.patch || return
  28. patch -p1 < $SRC/vice-2.4-texi2html.patch || exit
  29. ./configure \
  30. --prefix=/usr \
  31. --enable-ethernet \
  32. --enable-fullscreen \
  33. --disable-ffmpeg \
  34. --with-sdlsound
  35. make
  36. mkdir -p $PKG/usr/bin
  37. cp $SRC/vice.sh $PKG/usr/bin/vice
  38. chmod a+x $PKG/usr/bin/vice
  39. mkdir -p $PKG/usr/share/applications
  40. cp $SRC/vice.desktop $PKG/usr/share/applications/
  41. ICONSIZES="48 32 24 22 16"
  42. for i in $ICONSIZES; do
  43. mkdir -p $PKG/usr/share/icons/hicolor/$i\x$i/apps;
  44. cp $SRC/$isim-$i.png $PKG/usr/share/icons/hicolor/$i\x$i/apps;
  45. done;
  46. cp $SRC/$isim.png $PKG/usr/share/applications/
  47. make DESTDIR=$PKG install
  48. }