aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-03-17 21:17:09 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-03-18 15:27:26 +0000
commit831e25f4b2a8b949a1ed43695a31fb9f4d432546 (patch)
tree42ce869e373e524469fac6b3edd6ccc32741cd9e /testing
parent3dcf6e4c80b1194bf2709ee287893118e21eb366 (diff)
downloadaports-831e25f4b2a8b949a1ed43695a31fb9f4d432546.tar.bz2
aports-831e25f4b2a8b949a1ed43695a31fb9f4d432546.tar.xz
testing/irrlicht: fix supertuxracer issue
Diffstat (limited to 'testing')
-rw-r--r--testing/irrlicht/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/irrlicht/APKBUILD b/testing/irrlicht/APKBUILD
index 96442ac50a..6d1405ba2d 100644
--- a/testing/irrlicht/APKBUILD
+++ b/testing/irrlicht/APKBUILD
@@ -1,6 +1,7 @@
# Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org>
pkgname=irrlicht
pkgver=1.7.2
+_pkgmajver=1.7
pkgrel=0
pkgdesc="3D graphics engine"
url="http://irrlicht.sourceforge.net"
@@ -64,8 +65,10 @@ package() {
cd "$pkgdir"/usr/lib
mv ../../libIrrlicht* ./
ln -s libIrrlicht.so.$pkgver libIrrlicht.so.1
+ ln -s libIrrlicht.so.$pkgver libIrrlicht.so.$_pkgmajver
mv "$pkgdir"/../include/* "$pkgdir"/usr/include/$pkgname/include/
+ mv "$pkgdir"/usr/include/$pkgname/include/irrlicht/* "$pkgdir"/usr/include/$pkgname/include/
rm -rf "$pkgdir"/../include/
install -m755 "$srcdir"/$pkgname-$pkgver/bin/Linux/* "$pkgdir"/usr/share/$pkgname/examples/bin/