wok-current rev 17320
Add opencsg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 04 13:21:47 2014 +0100 (2014-11-04) |
parents | a27eb3726263 |
children | 2051fa04040e |
files | foo2xqx/receipt opencsg-dev/receipt opencsg/receipt |
line diff
1.1 --- a/foo2xqx/receipt Tue Nov 04 11:36:52 2014 +0000 1.2 +++ b/foo2xqx/receipt Tue Nov 04 13:21:47 2014 +0100 1.3 @@ -11,7 +11,7 @@ 1.4 WGET_URL="http://foo2zjs.rkkda.com/$TARBALL" 1.5 1.6 DEPENDS="ghostscript foo2xqx-data" 1.7 -BUILD_DEPENDS="foomatic-db-engine" 1.8 +BUILD_DEPENDS="foomatic-db-engine bc" 1.9 1.10 # Rules to configure and make the package. 1.11 # 1.12 @@ -30,6 +30,7 @@ 1.13 $FOO2SLX $FOO2HIPERC $FOO2QPDL ; do 1.14 ./getweb $i 1.15 done 1.16 + mkdir -p $DESTDIR/usr/lib/cups/filter 1.17 make DESTDIR=$DESTDIR install 1.18 } 1.19
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/opencsg-dev/receipt Tue Nov 04 13:21:47 2014 +0100 2.3 @@ -0,0 +1,20 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="opencsg-dev" 2.7 +VERSION="1.4.0" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="The CSG rendering library, development files." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="http://www.opencsg.org/" 2.13 +WANTED="opencsg" 2.14 + 2.15 +DEPENDS="opencsg" 2.16 + 2.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.18 +genpkg_rules() 2.19 +{ 2.20 + mkdir -p $fs/usr 2.21 + cp -a $install/usr/bin $fs/usr 2.22 + cp -a $install/usr/include $fs/usr 2.23 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/opencsg/receipt Tue Nov 04 13:21:47 2014 +0100 3.3 @@ -0,0 +1,34 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="opencsg" 3.7 +SOURCE="OpenCSG" 3.8 +VERSION="1.4.0" 3.9 +CATEGORY="graphics" 3.10 +SHORT_DESC="The CSG rendering library." 3.11 +MAINTAINER="pascal.bellard@slitaz.org" 3.12 +LICENSE="GPL2" 3.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 3.14 +WEB_SITE="http://www.opencsg.org/" 3.15 +WGET_URL="${WEB_SITE}$TARBALL" 3.16 + 3.17 +DEPENDS="glew mesa" 3.18 +BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev" 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +# 3.22 +compile_rules() 3.23 +{ 3.24 + for i in /usr/lib /usr/bin /bin /usr/include ; do 3.25 + mkdir -p $DESTDIR$i 3.26 + done 3.27 + find -name Makefile | xargs sed -i 's|usr/local|usr|' 3.28 + make -j 1 && 3.29 + make INSTALL_ROOT=$DESTDIR install 3.30 +} 3.31 + 3.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.33 +genpkg_rules() 3.34 +{ 3.35 + mkdir -p $fs/usr 3.36 + cp -a $install/usr/lib $fs/usr 3.37 +}