diff options
Diffstat (limited to 'main/cegui06/APKBUILD')
-rw-r--r-- | main/cegui06/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/main/cegui06/APKBUILD b/main/cegui06/APKBUILD new file mode 100644 index 0000000000..a833342a9a --- /dev/null +++ b/main/cegui06/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=cegui06 +pkgver=0.6.2b +pkgrel=0 +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 lua-dev" +install="" +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz + cegui-0.6.2-gcc46.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" |