wok diff irrlicht/receipt @ rev 18334
Updates licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 10 10:00:06 2015 +0200 (2015-09-10) |
parents | |
children | 72b03b7176b7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/irrlicht/receipt Thu Sep 10 10:00:06 2015 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="irrlicht" 1.7 +VERSION="1.8.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="high performance realtime 3D engine written in C++" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="zlib/libpng" 1.12 +TARBALL="$PACKAGE-$VERSION.zip" 1.13 +WEB_SITE="http://irrlicht.sourceforge.net/" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +DEPENDS="mesa gcc-lib-base libxcb xorg-libXfixes" 1.17 +BUILD_DEPENDS="xorg-dev mesa-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src/source/Irrlicht 1.23 + sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile 1.24 + make sharedlib && 1.25 + make && 1.26 + make install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $install/usr/lib $fs/usr 1.34 +}