wok diff opencsg/receipt @ rev 19938
Up liboping (1.9.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Apr 30 14:09:19 2017 +0100 (2017-04-30) |
parents | |
children | 3705d68ed8f3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/opencsg/receipt Sun Apr 30 14:09:19 2017 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="opencsg" 1.7 +SOURCE="OpenCSG" 1.8 +VERSION="1.4.0" 1.9 +CATEGORY="graphics" 1.10 +SHORT_DESC="The CSG rendering library." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="GPL2" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.opencsg.org/" 1.15 +WGET_URL="${WEB_SITE}$TARBALL" 1.16 + 1.17 +DEPENDS="glew mesa" 1.18 +BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +# 1.22 +compile_rules() 1.23 +{ 1.24 + for i in /usr/lib /usr/bin /bin /usr/include ; do 1.25 + mkdir -p $DESTDIR$i 1.26 + done 1.27 + find -name Makefile | xargs sed -i 's|usr/local|usr|' 1.28 + make -j 1 && 1.29 + make INSTALL_ROOT=$DESTDIR install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr 1.36 + cp -a $install/usr/lib $fs/usr 1.37 +}