wok view opencsg/receipt @ rev 21803

created recipe for nnn 2.6
author Hans-G?nter Theisgen
date Sat Aug 10 20:59:16 2019 +0100 (24 months ago)
parents 3705d68ed8f3
children
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 }