talimat 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # Tanım: Göstergeler için bir dizi sembol ve kolaylık fonksiyonu
  2. # URL: https://launchpad.net/libindicator
  3. # Paketçi: milisarge
  4. # Gerekler: gtk2
  5. # Grup: sistem
  6. isim=libindicator-gtk2
  7. surum=0.4.93
  8. devir=1
  9. kaynak=(http://launchpad.net/libindicator/0.5/$surum/+download/libindicator-$surum.tar.gz)
  10. derle() {
  11. sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator-$surum/libindicator/Makefile.{am,in}
  12. sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i libindicator-$surum/configure
  13. sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i libindicator-$surum/configure
  14. sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i libindicator-$surum/configure
  15. sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i libindicator-$surum/configure
  16. sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i libindicator-$surum/configure
  17. cd libindicator-$surum
  18. ./configure --prefix=/usr \
  19. --sysconfdir=/etc \
  20. --localstatedir=/var \
  21. --libexecdir=/usr/lib/$isim \
  22. --disable-static \
  23. --with-gtk=2
  24. make -j1
  25. make -j1 DESTDIR=$PKG install
  26. }