wok view irrlicht/receipt @ rev 19365

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