wok view irrlicht/receipt @ rev 25362

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 07:24:59 2022 +0000 (2022-07-28)
parents ba7cbdb5749c
children ad0bc3efbf37
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|.*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 cook_copy_folders lib
40 }