APKBUILD 794 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2 3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sdl
pkgver=1.2.13
Natanael Copa's avatar
Natanael Copa committed
4
pkgrel=2
Natanael Copa's avatar
Natanael Copa committed
5 6 7 8 9
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
url="http://www.libsdl.org"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
Natanael Copa's avatar
Natanael Copa committed
10
depends_dev="libx11-dev libiconv-dev"
Natanael Copa's avatar
Natanael Copa committed
11
makedepends="libxext-dev libxrender-dev libx11-dev libice-dev libsm-dev 
Natanael Copa's avatar
Natanael Copa committed
12
	libxrandr-dev mesa-dev alsa-lib-dev libiconv-dev"
Natanael Copa's avatar
Natanael Copa committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
source="http://www.libsdl.org/release/SDL-$pkgver.tar.gz"

build ()
{
	cd "$srcdir"/SDL-$pkgver
	./configure --prefix=/usr \
		--disable-nasm \
		--disable-esd \
		--enable-alsa \
		--with-x \
		--disable-rpath \
		--disable-nls 
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="c6660feea2a6834de10bc71b2f8e4d88  SDL-1.2.13.tar.gz"