wok annotate irrlicht/receipt @ rev 23515
busybox: musl & diet may fail (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 12:11:08 2020 +0200 (2020-04-06) |
parents | a371ce86818b |
children | ba7cbdb5749c |
rev | line source |
---|---|
pascal@17696 | 1 # SliTaz package receipt. |
pascal@17696 | 2 |
pascal@17696 | 3 PACKAGE="irrlicht" |
Hans-G?nter@21061 | 4 VERSION="1.8.4" |
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@21061 | 9 WEB_SITE="http://irrlicht.sourceforge.net/" |
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@17696 | 17 # Rules to configure and make the package. |
pascal@17696 | 18 compile_rules() |
pascal@17696 | 19 { |
pascal@17696 | 20 cd $src/source/Irrlicht |
pascal@17696 | 21 sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile |
Hans-G?nter@21061 | 22 |
pascal@17696 | 23 make sharedlib && |
pascal@17696 | 24 make && |
pascal@17696 | 25 make install |
pascal@17696 | 26 } |
pascal@17696 | 27 |
pascal@17696 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17696 | 29 genpkg_rules() |
pascal@17696 | 30 { |
pascal@17696 | 31 mkdir -p $fs/usr |
pascal@17696 | 32 cp -a $install/usr/lib $fs/usr |
pascal@17696 | 33 } |