From 99fa83f5ba4148403d1fedc361bdc90c6e0f7ef5 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 19 Jan 2018 06:02:08 +0200 Subject: [PATCH] extcalc --- talimatname/genel/e/extcalc/talimat | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 talimatname/genel/e/extcalc/talimat diff --git a/talimatname/genel/e/extcalc/talimat b/talimatname/genel/e/extcalc/talimat new file mode 100644 index 000000000..d1c44a06a --- /dev/null +++ b/talimatname/genel/e/extcalc/talimat @@ -0,0 +1,22 @@ +# Tanım: Çok işlevli bir bilimsel grafik hesap makinesi +# URL: http://extcalc-linux.sourceforge.net +# Paketçi: Cihan Alkan +# Gerekler: qt4 cmake +# Grup: eğitim + +isim=extcalc +surum=0.9.3 +devir=1 +kaynak=(http://downloads.sourceforge.net/$isim-linux/$isim-$surum-1.tar.gz) + + +derle() { +cd $SRC/$isim-$surum-1 + CXXFLAGS="$CXXFLAGS -Wno-write-strings -Wno-unused-result" + sed -i 's|${QT_LIBRARIES}|${QT_LIBRARIES} ${OPENGL_LIBRARIES}|' CMakeLists.txt + sed -i "s|FIND_PACKAGE|FIND_PACKAGE(OpenGL REQUIRED)\nFIND_PACKAGE|" CMakeLists.txt + sed -i 's|/usr/local|/usr|' CMakeLists.txt + cmake -DCMAKE_INSTALL_PREFIX="/usr" + make -Wno-write-strings + make DESTDIR="$PKG" install +}