summaryrefslogtreecommitdiffstats
path: root/extra/libsdl/Pkgfile
blob: 11f9eedaad5b624af200e402289f97101007328d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: SDL, Simple DirectMedia Layer 
# URL: http://www.libsdl.org
# Maintainer: Jose V Beneyto <sepen at crux dot nu>
# Packager: sten <nick dot steeves at shaw dot ca>
# Depends on: alsa-lib, mesa3d

name=libsdl
version=1.2.13
release=1
source=( http://www.libsdl.org/release/SDL-$version.tar.gz )

build () {
  cd SDL-$version

  # Compilation
  ./configure --prefix=/usr \
    --enable-alsa \
    --mandir=/usr/man
  make
  make DESTDIR=$PKG install
}