aboutsummaryrefslogblamecommitdiffstats
path: root/main/sdl/APKBUILD
blob: e98589b0a9454cf5d9a57be7d9c3eaae8e45ea5b (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
             
        




                                                                                                           
                                     
                                                                        
                                                         

                                                         
         







                                   




                                


                                      
                                                             
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sdl
pkgver=1.2.14
pkgrel=1
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=
depends_dev="libx11-dev libiconv-dev"
makedepends="libxext-dev libxrender-dev libx11-dev libice-dev libsm-dev 
	libxrandr-dev mesa-dev alsa-lib-dev libiconv-dev"
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
}

package() {
	cd "$srcdir"/SDL-$pkgver
	make DESTDIR="$pkgdir" install
}

md5sums="e52086d1b508fa0b76c52ee30b55bec4  SDL-1.2.14.tar.gz"