summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/directfb/PKGBUILD
blob: 76e86d1ecb1697976ef91355a67416ec7564a4d9 (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.7
pkgrel=1
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/Core/DirectFB-${pkgver}.tar.gz dfb_serial.diff)
md5sums=('59ca16f600e96c8c104a485ff7c322c6'
	 '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
}