wok-next view irrlicht/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 7639f09792cf |
children | d5aab818505e |
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 WEB_SITE="http://irrlicht.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xorg-dev mesa-dev"
15 SPLIT="irrlicht-dev"
17 compile_rules() {
18 cd $src/source/Irrlicht
19 sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile
20 make sharedlib &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 irrlicht)
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 DEPENDS="mesa gcc-lib-base xorg-libxcb xorg-libXfixes"
31 ;;
32 *-dev)
33 mkdir -p $fs/usr
34 cp -a $install/usr/include $fs/usr
35 DEPENDS="irrlicht"
36 ;;
37 esac
38 }