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