wok view irrlicht/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 2d4208bebf51 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="irrlicht"
4 VERSION="1.8.5"
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="https://sourceforge.net/projects/irrlicht/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gcc-lib-base libxcb mesa xorg-libXfixes"
15 BUILD_DEPENDS="mesa-dev xorg-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - 'https://sourceforge.net/projects/irrlicht/files/Irrlicht SDK/' 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*SDK/.\../||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src/source/Irrlicht
29 sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile
31 make sharedlib &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders lib
40 }