wok-6.x view opencsg/receipt @ rev 23654
Up openssh (8.2p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 21 06:14:03 2020 +0000 (2020-04-21) |
parents | 3705d68ed8f3 |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opencsg"
4 VERSION="1.4.2"
5 CATEGORY="graphics"
6 SHORT_DESC="The CSG rendering library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.opencsg.org/"
11 SOURCE="OpenCSG"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}$TARBALL"
15 DEPENDS="glew mesa"
16 BUILD_DEPENDS="freeglut-dev glew-dev mesa-dev"
18 # Rules to configure and make the package.
19 #
20 compile_rules()
21 {
22 sed -i 's|uname -m|echo i486|' glew/config/Makefile*
23 for i in /usr/lib /usr/bin /bin /usr/include ; do
24 mkdir -p $DESTDIR$i
25 done
26 find -name Makefile | xargs sed -i 's|usr/local|usr|'
28 make -j 1 &&
29 make INSTALL_ROOT=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }