wok-next view opencsg/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 6e1c0c61cc18 |
children | d5aab818505e |
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="opencsg-dev"
17 compile_rules() {
18 for i in /usr/lib /usr/bin /bin /usr/include; do
19 mkdir -p $DESTDIR$i
20 done
21 find -name Makefile | xargs sed -i 's|usr/local|usr|'
22 make -j 1 &&
23 make INSTALL_ROOT=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 opencsg)
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 DEPENDS="glew mesa"
32 ;;
33 *-dev)
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/include $fs/usr
37 ;;
38 esac
39 }