summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/directfb/PKGBUILD
blob: 89d322a55dbd66ffa83822f935f8b00eedbde1b8 (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
# $Id: PKGBUILD,v 1.7 2008/08/02 19:48:28 Snowman Exp $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>

pkgname=directfb
pkgver=1.2.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=('i686' 'x86_64')
url="http://www.directfb.org"
license=('LGPL')
depends=('libjpeg' 'libxext' 'sdl' 'sysfsutils' 'libpng' 'freetype2')
options=('!libtool')
source=(http://www.directfb.org/downloads/Old/DirectFB-${pkgver}.tar.gz dfb_serial.diff)
md5sums=('231f2247c9d0a2b8a51f415571105ecb'
	 '5993ae20546b80d0e5fa4f7b367e2f82')

build() {
  cd ${srcdir}/DirectFB-${pkgver}
#  patch -p0 < ../dfb_serial.diff
  ./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-zlib \
              --enable-x11 --enable-sdl --disable-vnc --disable-osx \
              --enable-video4linux2 --enable-voodoo || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}