mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=cegui
|
|
pkgver=0.6.2b
|
|
pkgrel=1
|
|
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
|
|
arch=(i686 x86_64)
|
|
url="http://crayzedsgui.sourceforge.net"
|
|
options=('!libtool')
|
|
license=("MIT")
|
|
depends=('pcre' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
|
|
[ "$CARCH" = "x86_64" ] && depends=(${depends[@]} 'silly')
|
|
source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
|
|
md5sums=('4fbd95e5a2ac1c7acf2a8f5df3ac6b93')
|
|
|
|
build() {
|
|
cd $srcdir/CEGUI-0.6.2
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-devil \
|
|
--enable-silly \
|
|
--disable-xerces-c \
|
|
--with-default-image-codec=SILLYImageCodec \
|
|
--enable-lua
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/CEGUI-0.6.2
|
|
make DESTDIR=$pkgdir install
|
|
|
|
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
|
}
|