wok-next view opencsg/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }