wok-current view opencsg/receipt @ rev 20366

debugging with markers, I think the build server does NOT build the gpg... but here locally gpg binary is created and at the place it should be
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 20:40:08 2018 +0000 (2018-06-09)
parents 6e1c0c61cc18
children c3f6eea1a598
line source
1 # SliTaz package receipt.
3 PACKAGE="opencsg"
4 SOURCE="OpenCSG"
5 VERSION="1.4.0"
6 CATEGORY="graphics"
7 SHORT_DESC="The CSG rendering library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.opencsg.org/"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="glew mesa"
15 BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev"
17 # Rules to configure and make the package.
18 #
19 compile_rules()
20 {
21 sed -i 's|uname -m|echo i486|' glew/config/Makefile*
22 for i in /usr/lib /usr/bin /bin /usr/include ; do
23 mkdir -p $DESTDIR$i
24 done
25 find -name Makefile | xargs sed -i 's|usr/local|usr|'
26 make -j 1 &&
27 make INSTALL_ROOT=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 }