wok-current view openscad/receipt @ rev 20235
busybox: add arch (uname -m alias)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 15:52:59 2018 +0100 (2018-03-05) |
parents | 0923305c023b |
children | 241fb98cab1c |
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 libboost-chrono"
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 \
19 libboost-graph-dev libboost-tr1-dev 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 }