Mail archive
alpine-devel

[alpine-devel] [PATCH 2/3] testing/irrlicht: fix supertuxracer issue

From: Jeff Bilyk <jbilyk_at_gmail.com>
Date: Thu, 17 Mar 2011 21:49:20 +0000

---
 testing/irrlicht/APKBUILD |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/testing/irrlicht/APKBUILD b/testing/irrlicht/APKBUILD
index 96442ac..6d1405b 100644
--- a/testing/irrlicht/APKBUILD
+++ b/testing/irrlicht/APKBUILD
_at_@ -1,6 +1,7 @@
 # Maintainer: Jeff Bilyk <jbilyk_at_alpinelinux.org>
 pkgname=irrlicht
 pkgver=1.7.2
+_pkgmajver=1.7
 pkgrel=0
 pkgdesc="3D graphics engine"
 url="http://irrlicht.sourceforge.net"
_at_@ -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/
-- 
1.7.4.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Mar 17 2011 - 21:49:20 UTC