wok-next view irrlicht/receipt @ rev 20280

remove cyrus-sasl-pam, libsasl-without-ldap, enlightenment-pam, enlightenment-backgrounds, libcap-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 14:41:47 2017 +0100 (2017-11-08)
parents a371ce86818b
children 7639f09792cf
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 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 }