wok-6.x annotate irrlicht/receipt @ rev 19945

Up vmtouch (1.1.0)
author Paul Issott <paul@slitaz.org>
date Sun May 07 15:47:05 2017 +0100 (2017-05-07)
parents
children 72b03b7176b7
rev   line source
pascal@17696 1 # SliTaz package receipt.
pascal@17696 2
pascal@17696 3 PACKAGE="irrlicht"
pascal@17696 4 VERSION="1.8.1"
pascal@17696 5 CATEGORY="development"
pascal@17696 6 SHORT_DESC="high performance realtime 3D engine written in C++"
pascal@17696 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17696 8 LICENSE="zlib/libpng"
pascal@17696 9 TARBALL="$PACKAGE-$VERSION.zip"
pascal@17696 10 WEB_SITE="http://irrlicht.sourceforge.net/"
pascal@17696 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@17696 12
pascal@17696 13 DEPENDS="mesa gcc-lib-base libxcb xorg-libXfixes"
pascal@17696 14 BUILD_DEPENDS="xorg-dev mesa-dev"
pascal@17696 15
pascal@17696 16 # Rules to configure and make the package.
pascal@17696 17 compile_rules()
pascal@17696 18 {
pascal@17696 19 cd $src/source/Irrlicht
pascal@17696 20 sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile
pascal@17696 21 make sharedlib &&
pascal@17696 22 make &&
pascal@17696 23 make install
pascal@17696 24 }
pascal@17696 25
pascal@17696 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17696 27 genpkg_rules()
pascal@17696 28 {
pascal@17696 29 mkdir -p $fs/usr
pascal@17696 30 cp -a $install/usr/lib $fs/usr
pascal@17696 31 }