wok-next view openscad/receipt @ rev 19849
Fix packaging: lcms, libtool; up slitaz-tools-*; add mathomatic.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 28 19:54:13 2017 +0300 (2017-08-28) |
parents | 8fa9b091fbf6 |
children | d43bf7aae921 |
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-dev \
18 libboost-program-options libboost-filesystem libboost-regex libboost-thread \
19 qmake"
21 # Rules to configure and make the package.
22 #
23 compile_rules()
24 {
25 ./scripts/check-dependencies.sh
26 qmake PREFIX="/usr" &&
27 make &&
28 make INSTALL_ROOT=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }