wok-current view opencsg/receipt @ rev 22873
updated gpa and gpa-langpack (0.9.10 -> 0.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 21 17:22:56 2020 +0100 (2020-02-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 }