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