wok-6.x annotate opencsg/receipt @ rev 20385

Add amiwm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 23 10:59:44 2018 +0200 (2018-06-23)
parents 6e1c0c61cc18
children c3f6eea1a598
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@20212 21 sed -i 's|uname -m|echo i486|' glew/config/Makefile*
pascal@17320 22 for i in /usr/lib /usr/bin /bin /usr/include ; do
pascal@17320 23 mkdir -p $DESTDIR$i
pascal@17320 24 done
pascal@17320 25 find -name Makefile | xargs sed -i 's|usr/local|usr|'
pascal@17320 26 make -j 1 &&
pascal@17320 27 make INSTALL_ROOT=$DESTDIR install
pascal@17320 28 }
pascal@17320 29
pascal@17320 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17320 31 genpkg_rules()
pascal@17320 32 {
pascal@17320 33 mkdir -p $fs/usr
pascal@17320 34 cp -a $install/usr/lib $fs/usr
pascal@17320 35 }