wok-current view openscad/receipt @ rev 17665
attr: /lib moved to /usr/lib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 15:16:45 2015 +0100 (2015-02-15) |
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 }