wok-next view irrlicht/receipt @ rev 20447

libxcb is obsolete -> xorg-libxcb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 13:56:24 2018 +0200 (2018-02-28)
parents 805dd99c3fee
children c3a368c0cddb
line source
1 # SliTaz package receipt v2.
3 PACKAGE="irrlicht"
4 VERSION="1.8.4"
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 BUILD_DEPENDS="xorg-dev mesa-dev"
14 SPLIT="irrlicht irrlicht-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 case $PACKAGE in
30 irrlicht)
31 DEPENDS="mesa gcc-lib-base xorg-libxcb xorg-libXfixes"
32 mkdir -p $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 ;;
35 irrlicht-dev)
36 CAT="development|high performance realtime 3D engine written in C++"
37 DEPENDS="irrlicht"
38 mkdir -p $fs/usr
39 cp -a $install/usr/include $fs/usr
40 ;;
41 esac
42 }