wok annotate irrlicht/receipt @ rev 24934
updated musl-libc and musl-libc-dev (1.2.2 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 17:42:49 2022 +0100 (2022-04-13) |
parents | ba7cbdb5749c |
children | ad0bc3efbf37 |
rev | line source |
---|---|
pascal@17696 | 1 # SliTaz package receipt. |
pascal@17696 | 2 |
pascal@17696 | 3 PACKAGE="irrlicht" |
Hans-G?nter@24677 | 4 VERSION="1.8.5" |
pascal@17696 | 5 CATEGORY="development" |
Hans-G?nter@21061 | 6 SHORT_DESC="High performance realtime 3D engine written in C++." |
pascal@17696 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17696 | 8 LICENSE="zlib/libpng" |
Hans-G?nter@24677 | 9 WEB_SITE="https://sourceforge.net/projects/irrlicht/" |
Hans-G?nter@21061 | 10 |
pascal@17696 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@17696 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17696 | 13 |
Hans-G?nter@21061 | 14 DEPENDS="gcc-lib-base libxcb mesa xorg-libXfixes" |
Hans-G?nter@21061 | 15 BUILD_DEPENDS="mesa-dev xorg-dev" |
pascal@17696 | 16 |
pascal@24412 | 17 # What is the latest version available today? |
pascal@24412 | 18 current_version() |
pascal@24412 | 19 { |
pascal@24412 | 20 wget -O - 'https://sourceforge.net/projects/irrlicht/files/Irrlicht SDK/' 2>/dev/null | \ |
pascal@24412 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24412 | 22 sed '/scope="row/!d;s|.*SDK/.\../||;s|/.*||;q' |
pascal@24412 | 23 } |
pascal@24412 | 24 |
pascal@17696 | 25 # Rules to configure and make the package. |
pascal@17696 | 26 compile_rules() |
pascal@17696 | 27 { |
pascal@17696 | 28 cd $src/source/Irrlicht |
pascal@17696 | 29 sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile |
Hans-G?nter@21061 | 30 |
pascal@17696 | 31 make sharedlib && |
pascal@17696 | 32 make && |
pascal@17696 | 33 make install |
pascal@17696 | 34 } |
pascal@17696 | 35 |
pascal@17696 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17696 | 37 genpkg_rules() |
pascal@17696 | 38 { |
Hans-G?nter@24677 | 39 cook_copy_folders lib |
pascal@17696 | 40 } |