# $Id: PKGBUILD,v 1.9 2009/05/24 19:46:36 Snowman Exp $ # Maintainer: Eric Belanger # Contributor: Eric Belanger # arm Maintainer: Philipp Scholl pkgname=directfb pkgver=1.4.0 pkgrel=2 pkgdesc="A thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system on top of the Linux Framebuffer Device" arch=(arm) url="http://www.directfb.org" license=('LGPL') depends=('libjpeg' 'sysfsutils' 'libpng' 'freetype2') makedepends=('libgl' 'libxext') optdepends=('libgl') options=('!libtool') source=(http://www.directfb.org/downloads/Core/DirectFB-1.4/DirectFB-${pkgver}.tar.gz directfbrc) md5sums=('191b6149db1c020cb9be5f3cd4550716' '949db8136687010abd6bde8669242c94') build() { cd "${srcdir}/DirectFB-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-zlib \ --enable-x11 --disable-vnc --disable-osx \ || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 mkdir -p "${pkgdir}/etc" install -m755 ../directfbrc "${pkgdir}/etc/directfbrc" }