blob: 34adeb874d17ea4f99b603fe898cd7dc8cfd752c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cegui06
pkgver=0.6.2b
pkgrel=7
pkgdesc="CEGUI library 0.6 for apps which need this specific version"
url="http://www.cegui.org.uk"
arch="all"
license="MIT and LGPLv2+"
depends=""
makedepends="freetype-dev pcre-dev expat-dev libice-dev libsm-dev glew-dev
mesa-dev glu-dev lua-dev"
install=""
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz
cegui-0.6.2-gcc46.patch
cegui-0.6.0-release-as-so-ver.patch
cegui-0.6.0-userverso.patch
"
_builddir="$srcdir"/CEGUI-0.6.2
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-samples \
--with-pic \
--with-default-xml-parser=ExpatParser \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="4fbd95e5a2ac1c7acf2a8f5df3ac6b93 CEGUI-0.6.2b.tar.gz
c313bbb6fea733ff904f7f3b48f6a3d0 cegui-0.6.2-gcc46.patch
7a6c7f61d680344b4bfbf9766e3f2aad cegui-0.6.0-release-as-so-ver.patch
dd5a5d6be594960cd53934271514e351 cegui-0.6.0-userverso.patch"
|