wok-6.x rev 17321
Add openscad
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 04 14:52:08 2014 +0100 (2014-11-04) |
parents | 6e1c0c61cc18 |
children | 7de0921f7b47 |
files | eigen/receipt openscad/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/eigen/receipt Tue Nov 04 14:52:08 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="eigen" 1.7 +VERSION="3.2.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A C++ template library for linear algebra." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MPL2 LGPL BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://eigen.tuxfamily.org/" 1.14 +WGET_URL="https://bitbucket.org/$PACKAGE/$PACKAGE/get/$VERSION.tar.bz2" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="wget cmake pkg-config glib" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +# 1.21 +compile_rules() 1.22 +{ 1.23 + mkdir built 1.24 + cd built 1.25 + cmake -DCMAKE_INSTALL_PREFIX=/usr ../ 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $install/* $fs 1.34 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/openscad/receipt Tue Nov 04 14:52:08 2014 +0100 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="openscad" 2.7 +VERSION="2014.03" 2.8 +CATEGORY="graphics" 2.9 +SHORT_DESC="The Programmers Solid 3D CAD Modeller." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +TARBALL="$PACKAGE-$VERSION.src.tar.gz" 2.13 +WEB_SITE="http://www.openscad.org/" 2.14 +WGET_URL="http://files.openscad.org//$TARBALL" 2.15 + 2.16 +DEPENDS="cgal gmp mpfr glew opencsg mesa libboost-program-options \ 2.17 +libboost-filesystem libboost-thread libboost-regex libQtOpenGL \ 2.18 +libQtCore libQtGui glib" 2.19 +BUILD_DEPENDS="cmake pkg-config flex Qt4-dev cgal-dev gmp-dev mpfr-dev \ 2.20 +glib-dev glew-dev opencsg-dev eigen mesa-dev libboost-program-options-dev \ 2.21 +libboost-filesystem-dev libboost-regex-dev libboost-thread-dev" 2.22 + 2.23 +# Rules to configure and make the package. 2.24 +# 2.25 +compile_rules() 2.26 +{ 2.27 + ./scripts/check-dependencies.sh 2.28 + qmake PREFIX="/usr" && 2.29 + make && 2.30 + make INSTALL_ROOT=$DESTDIR install 2.31 +} 2.32 + 2.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.34 +genpkg_rules() 2.35 +{ 2.36 + cp -a $install/* $fs 2.37 +}