talimat 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Tanım: Gksu yetkilendirme kütüphanesi
  2. # URL: http://www.nongnu.org/gksu/index.html
  3. # Paketçi: yasarciv67@gmail.com
  4. # Gerekler: intltool gtk-doc gconf gtk2 libgnome-keyring libgtop startup-notification libglade
  5. # Grup: kütüphane
  6. isim=libgksu
  7. surum=2.0.12
  8. devir=2
  9. kaynak=(http://people.debian.org/~kov/gksu/$isim-$surum.tar.gz
  10. libgksu-2.0.0-fbsd.patch
  11. libgksu-2.0.12-automake-1.11.2.patch
  12. libgksu-2.0.12-fix-make-3.82.patch
  13. libgksu-2.0.12-notests.patch
  14. libgksu-2.0.12-revert-forkpty.patch
  15. libgksu-2.0.7-libs.patch
  16. libgksu-2.0.7-polinguas.patch
  17. libgksu-tr.po)
  18. derle() {
  19. cd $isim-$surum
  20. patch -Np1 -i "${SRC}/libgksu-2.0.0-fbsd.patch"
  21. patch -Np1 -i "${SRC}/libgksu-2.0.7-libs.patch"
  22. patch -Np1 -i "${SRC}/libgksu-2.0.7-polinguas.patch"
  23. patch -Np1 -i "${SRC}/libgksu-2.0.12-revert-forkpty.patch"
  24. patch -Np0 -i "${SRC}/libgksu-2.0.12-fix-make-3.82.patch"
  25. patch -Np1 -i "${SRC}/libgksu-2.0.12-notests.patch"
  26. patch -Np1 -i "${SRC}/libgksu-2.0.12-automake-1.11.2.patch"
  27. touch NEWS README
  28. intltoolize --force --copy --automake
  29. autoreconf -fi
  30. ./configure --prefix=/usr \
  31. --sysconfdir=/etc \
  32. --localstatedir=/var \
  33. --disable-static \
  34. --disable-schemas-install
  35. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  36. make
  37. make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${PKG}" install
  38. rm -f ${PKG}/usr/lib/*.a
  39. install -m755 -d "${PKG}/usr/share/gconf/schemas"
  40. gconf-merge-schema "${PKG}/usr/share/gconf/schemas/$isim.schemas" --domain libgksu ${PKG}/etc/gconf/schemas/*.schemas
  41. rm -rf ${PKG}/etc/gconf
  42. rm -rf ${PKG}/usr/share/gtk-doc
  43. mkdir -p $PKG/usr/share/locale/tr/LC_MESSAGES
  44. msgfmt $SRC/libgksu-tr.po -o $PKG/usr/share/locale/tr/LC_MESSAGES/libgksu.mo
  45. }