aboutsummaryrefslogblamecommitdiffstats
path: root/main/sdl_image/APKBUILD
blob: 80a78b6e225e212c59e6dfde1c20ced1dc8fe309 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                            
                 




























                                                                                    
# Contributor: Carlo Landmeter
# Maintainer: 
pkgname=sdl_image
pkgver=1.2.10
pkgrel=0
pkgdesc="A simple library to load images of various formats as SDL surfaces"
url="http://www.libsdl.org/projects/SDL_image/"
arch="x86 x86_64"
license="LGPL"
depends=
makedepends="sdl-dev libpng-dev jpeg-dev tiff-dev zlib-dev"
install=
subpackages="$pkgname-dev"
source="http://www.libsdl.org/projects/SDL_image/release/SDL_image-${pkgver}.tar.gz"

_builddir="$srcdir"/SDL_image-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="6c06584b31559e2b59f2b982d0d1f628  SDL_image-1.2.10.tar.gz"