wok-next annotate irrlicht/receipt @ rev 21075
xorg-cf-files: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 21 01:46:05 2018 +0200 (2018-12-21) |
parents | c3a368c0cddb |
children | 5669e8b3be70 |
rev | line source |
---|---|
pascal@20194 | 1 # SliTaz package receipt v2. |
pascal@17696 | 2 |
pascal@17696 | 3 PACKAGE="irrlicht" |
pascal@20194 | 4 VERSION="1.8.4" |
pascal@17696 | 5 CATEGORY="development" |
al@20456 | 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" |
al@20456 | 9 WEB_SITE="http://irrlicht.sourceforge.net/" |
al@20456 | 10 |
pascal@17696 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@17696 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17696 | 13 |
pascal@17696 | 14 BUILD_DEPENDS="xorg-dev mesa-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@17696 | 16 |
al@20456 | 17 compile_rules() { |
pascal@17696 | 18 cd $src/source/Irrlicht |
al@21020 | 19 sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $install/usr/lib|" Makefile |
pascal@17696 | 20 make sharedlib && |
pascal@17696 | 21 make && |
pascal@17696 | 22 make install |
pascal@17696 | 23 } |
pascal@17696 | 24 |
al@20456 | 25 genpkg_rules() { |
pascal@20194 | 26 case $PACKAGE in |
al@20456 | 27 irrlicht) |
al@21020 | 28 copy @std |
al@20456 | 29 DEPENDS="mesa gcc-lib-base xorg-libxcb xorg-libXfixes" |
al@20456 | 30 ;; |
al@20456 | 31 *-dev) |
al@21020 | 32 copy @dev |
al@20456 | 33 ;; |
pascal@20194 | 34 esac |
pascal@17696 | 35 } |