talimat 1.0 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: yasarciv
  4. # Gerekler: gtk3
  5. # Grup: sistem
  6. isim=libindicator
  7. surum=12.10.1
  8. devir=1
  9. kaynak=(https://launchpad.net/$isim/12.10/12.10.1/+download/$isim-$surum.tar.gz)
  10. derle() {
  11. cd $isim-$surum
  12. sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator/Makefile.{am,in}
  13. sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i configure
  14. sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i configure
  15. sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i configure
  16. sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i configure
  17. sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i configure
  18. sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i m4/libtool.m4
  19. export CFLAGS="${CFLAGS} -Wno-error=deprecated-declarations"
  20. ./configure \
  21. --prefix=/usr \
  22. --localstatedir=/var \
  23. --libexecdir=/usr/lib/libindicator \
  24. --sysconfdir=/etc \
  25. --with-gtk=3 \
  26. --disable-static \
  27. --disable-tests
  28. make
  29. make DESTDIR=$PKG install
  30. }