summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/quilt/sdl/PKGBUILD
blob: be6508ab135e580c8bf2c9be9da485b33c5279cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=sdl
pkgver=1.2.13
pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
arch=(i686 x86_64)
license=('LGPL')
depends=('glibc' 'libxext' 'libxrender' 'libx11')
options=('!libtool')
makedepends=('alsa-lib' 'esd' 'mesa')
source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz)
url="http://www.libsdl.org"
md5sums=('c6660feea2a6834de10bc71b2f8e4d88')

build() {
  cd ${startdir}/src/SDL-${pkgver}
  ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd --with-x
  make || return 1
  make DESTDIR=${startdir}/pkg install
}