# SliTaz package receipt. PACKAGE="openscad" VERSION="2014.03" CATEGORY="graphics" SHORT_DESC="The Programmers Solid 3D CAD Modeller." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.src.tar.gz" WEB_SITE="http://www.openscad.org/" WGET_URL="http://files.openscad.org//$TARBALL" DEPENDS="cgal gmp mpfr glew opencsg mesa libboost-program-options \ libboost-filesystem libboost-thread libboost-regex libQtOpenGL \ libQtCore libQtGui glib libboost-chrono" BUILD_DEPENDS="cmake pkg-config flex Qt4-dev cgal-dev gmp-dev mpfr-dev \ glib-dev glew-dev opencsg-dev eigen mesa-dev libboost-program-options-dev \ libboost-filesystem-dev libboost-regex-dev libboost-thread-dev \ libboost-graph-dev libboost-tr1-dev qmake" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q } # Rules to configure and make the package. # compile_rules() { ./scripts/check-dependencies.sh qmake PREFIX="/usr" && make && make INSTALL_ROOT=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }