From a0185ff7165c2d14873bd6fa655141f3c8edfa07 Mon Sep 17 00:00:00 2001 From: milisman Date: Wed, 22 Feb 2017 00:33:11 +0200 Subject: [PATCH] gnuplot-libgd.paketlendi --- talimatname/genel/gnuplot/talimat | 21 +++++++++++ talimatname/genel/libgd/talimat | 21 +++++++++++ talimatname/genel/opencascade/talimat | 53 +++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 talimatname/genel/gnuplot/talimat create mode 100644 talimatname/genel/libgd/talimat create mode 100644 talimatname/genel/opencascade/talimat diff --git a/talimatname/genel/gnuplot/talimat b/talimatname/genel/gnuplot/talimat new file mode 100644 index 000000000..ca6f38dac --- /dev/null +++ b/talimatname/genel/gnuplot/talimat @@ -0,0 +1,21 @@ +# Description: GNUPlot, a graph plotting software +# URL: http://www.gnuplot.info/ +# Packager: milisarge +# Depends on: libgd pango + +name=gnuplot +version=5.0.5 +release=1 +source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --with-x \ + --with-qt=no + make + make DESTDIR=$PKG install + rm $PKG/usr/share/man/man1/gnuplot-ja.1 + rm -rf $PKG/usr/share/info +} diff --git a/talimatname/genel/libgd/talimat b/talimatname/genel/libgd/talimat new file mode 100644 index 000000000..fcee83c73 --- /dev/null +++ b/talimatname/genel/libgd/talimat @@ -0,0 +1,21 @@ +# Description: Library for the dynamic creation of images by programmers +# URL: http://www.libgd.org/ +# Packager: milisarge +# Depends on: xorg-fontconfig xorg-libxpm libwebp + +name=libgd +version=2.2.3 +release=1 + +source=("https://github.com/$name/$name/releases/download/gd-${version}/$name-${version}.tar.xz") + + +build() { + cd $name-${version} + ./configure \ + --prefix=/usr \ + --disable-rpath + make + make DESTDIR="${PKG}" install + install -D -m644 COPYING "${PKG}/usr/share/licenses/${name}/LICENSE" +} diff --git a/talimatname/genel/opencascade/talimat b/talimatname/genel/opencascade/talimat new file mode 100644 index 000000000..799afc8ed --- /dev/null +++ b/talimatname/genel/opencascade/talimat @@ -0,0 +1,53 @@ +# Description: Open CASCADE Technology, 3D modeling & numerical simulation +# URL: http://www.opencascade.org +# Packager: milisarge +# Depends on: xorg-mesa + +pkgname=opencascade +pkgver=7.0.0 +pkgrel=4 + +source=(https://freefr.dl.sourceforge.net/project/spacenav/spacenav%20daemon/spacenavd%20$version/$name-$version.tar.gz + Makefile.patch) + +build() { + cd opencascade-${pkgver} + + mkdir -p build + cd build + flags="" + flags="$flags -DCMAKE_BUILD_TYPE=Release" + #flags="$flags -D3RDPARTY_VTK_DIR=/opt/vtk6" + #flags="$flags -D3RDPARTY_VTK_INCLUDE_DIR=/opt/vtk6/include" + #flags="$flags -D3RDPARTY_VTK_LIBRARY_DIR=/opt/vtk6/lib" + #flags="$flags -D3RDPARTY_VTK_BIN_DIR=/opt/vtk6/bin" + flags="$flags -DCMAKE_INSTALL_PREFIX=/opt/${pkgname}" + flags="$flags -DUSE_GL2PS=ON" + flags="$flags -D3RDPARTY_GL2PS_DIR=" + flags="$flags -DUSE_FREEIMAGE=ON" + flags="$flags -DUSE_TBB=ON" + flags="$flags -DUSE_VTK=ON" + #flags="$flags -DBUILD_LIBRARY_TYPE=Static" + #flags="$flags -DBUILD_YACCLEX=ON" + #flags="$flags -D3RDPARTY_BISON_EXECUTABLE=bison" + #flags="$flags -D3RDPARTY_FLEX_EXECUTABLE=flex" + if pacman -T intel-tbb > /dev/null 2>/dev/null; then + flags="$flags -DUSE_TBB=ON" + else + flags="$flags -DUSE_TBB=OFF" + fi + #flags="$flags -DUSE_TBB=OFF" + cmake $flags .. + + # this allows USE_VTK=ON to build + sed -i 's/-lvtkRenderingOpenGL/-lvtkRenderingOpenGL2/g' src/TKIVtk/CMakeFiles/TKIVtk.dir/link.txt + sed -i 's/-lvtkRenderingOpenGL/-lvtkRenderingOpenGL2/g' src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/link.txt + sed -i 's/-lvtkRenderingFreeTypeOpenGL/-lvtkRenderingFreeTypeTCL/g' src/TKIVtk/CMakeFiles/TKIVtk.dir/link.txt + sed -i 's/-lvtkRenderingFreeTypeOpenGL/-lvtkRenderingFreeTypeTCL/g' src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/link.txt + + cd opencascade-${pkgver}/build + make + make DESTDIR="${pkgdir}" install + install -Dm644 ../LICENSE_LGPL_21.txt -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm644 ../OCCT_LGPL_EXCEPTION.txt -t "$pkgdir/usr/share/licenses/$pkgname/" +}