wok-next view opencsg/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | e323d0535e2c |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opencsg"
4 VERSION="1.4.0"
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 TARBALL="OpenCSG-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 for i in /usr/lib /usr/bin /bin /usr/include; do
19 mkdir -p $install$i
20 done
21 find -name Makefile | xargs sed -i 's|usr/local|usr|'
23 make -j1 &&
24 make INSTALL_ROOT=$install install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 opencsg)
30 copy *.so
31 DEPENDS="glew mesa"
32 ;;
33 *-dev)
34 copy @dev @std @rm # /usr/bin/opencsgexample moved here
35 ;;
36 esac
37 }