wok view irrlicht/receipt @ rev 24554

updated flac and flac-dev again (1.3.3 -> 1.3.4)
author Hans-G?nter Theisgen
date Fri Feb 25 11:25:23 2022 +0100 (2022-02-25)
parents 72b03b7176b7
children cea69b44d76b
line source
1 # SliTaz package receipt.
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 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|.*href="|"https://sourceforge.net|;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 mkdir -p $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 }