wok annotate opencsg/receipt @ rev 20142
linld: tiny shrink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 11 10:57:19 2017 +0100 (2017-11-11) |
parents | |
children | 3705d68ed8f3 |
rev | line source |
---|---|
pascal@17320 | 1 # SliTaz package receipt. |
pascal@17320 | 2 |
pascal@17320 | 3 PACKAGE="opencsg" |
pascal@17320 | 4 SOURCE="OpenCSG" |
pascal@17320 | 5 VERSION="1.4.0" |
pascal@17320 | 6 CATEGORY="graphics" |
pascal@17320 | 7 SHORT_DESC="The CSG rendering library." |
pascal@17320 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17320 | 9 LICENSE="GPL2" |
pascal@17320 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17320 | 11 WEB_SITE="http://www.opencsg.org/" |
pascal@17320 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@17320 | 13 |
pascal@17320 | 14 DEPENDS="glew mesa" |
pascal@17320 | 15 BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev" |
pascal@17320 | 16 |
pascal@17320 | 17 # Rules to configure and make the package. |
pascal@17320 | 18 # |
pascal@17320 | 19 compile_rules() |
pascal@17320 | 20 { |
pascal@17320 | 21 for i in /usr/lib /usr/bin /bin /usr/include ; do |
pascal@17320 | 22 mkdir -p $DESTDIR$i |
pascal@17320 | 23 done |
pascal@17320 | 24 find -name Makefile | xargs sed -i 's|usr/local|usr|' |
pascal@17320 | 25 make -j 1 && |
pascal@17320 | 26 make INSTALL_ROOT=$DESTDIR install |
pascal@17320 | 27 } |
pascal@17320 | 28 |
pascal@17320 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17320 | 30 genpkg_rules() |
pascal@17320 | 31 { |
pascal@17320 | 32 mkdir -p $fs/usr |
pascal@17320 | 33 cp -a $install/usr/lib $fs/usr |
pascal@17320 | 34 } |