wok-6.x view opencsg/receipt @ rev 19458

linux: CVE-2016-5195
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 21 17:33:56 2016 +0200 (2016-10-21)
parents
children 3705d68ed8f3
line source
1 # SliTaz package receipt.
3 PACKAGE="opencsg"
4 SOURCE="OpenCSG"
5 VERSION="1.4.0"
6 CATEGORY="graphics"
7 SHORT_DESC="The CSG rendering library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.opencsg.org/"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="glew mesa"
15 BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev"
17 # Rules to configure and make the package.
18 #
19 compile_rules()
20 {
21 for i in /usr/lib /usr/bin /bin /usr/include ; do
22 mkdir -p $DESTDIR$i
23 done
24 find -name Makefile | xargs sed -i 's|usr/local|usr|'
25 make -j 1 &&
26 make INSTALL_ROOT=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 }