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

Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 09 14:47:24 2023 +0000 (19 months ago)
parents f1cfcaac93b6
children
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 #
30 compile_rules()
31 {
32 ./scripts/check-dependencies.sh
33 qmake PREFIX="/usr" &&
34 make &&
35 make INSTALL_ROOT=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }