wok-6.x view openscad/receipt @ rev 19106

rpm: bug fix (rpm -E '%{_tmppath}')
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 05 13:16:00 2016 +0200 (2016-05-05)
parents 2051fa04040e
children 174ccf0f3d34
line source
1 # SliTaz package receipt.
3 PACKAGE="openscad"
4 VERSION="2014.03"
5 CATEGORY="graphics"
6 SHORT_DESC="The Programmers Solid 3D CAD Modeller."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
10 WEB_SITE="http://www.openscad.org/"
11 WGET_URL="http://files.openscad.org//$TARBALL"
13 DEPENDS="cgal gmp mpfr glew opencsg mesa libboost-program-options \
14 libboost-filesystem libboost-thread libboost-regex libQtOpenGL \
15 libQtCore libQtGui glib"
16 BUILD_DEPENDS="cmake pkg-config flex Qt4-dev cgal-dev gmp-dev mpfr-dev \
17 glib-dev glew-dev opencsg-dev eigen mesa-dev libboost-program-options-dev \
18 libboost-filesystem-dev libboost-regex-dev libboost-thread-dev qmake"
20 # Rules to configure and make the package.
21 #
22 compile_rules()
23 {
24 ./scripts/check-dependencies.sh
25 qmake PREFIX="/usr" &&
26 make &&
27 make INSTALL_ROOT=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }