diff options
Diffstat (limited to 'main/sdl2_image')
-rw-r--r-- | main/sdl2_image/APKBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/main/sdl2_image/APKBUILD b/main/sdl2_image/APKBUILD index 26c9fbb2d5..c2e830651f 100644 --- a/main/sdl2_image/APKBUILD +++ b/main/sdl2_image/APKBUILD @@ -2,13 +2,12 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=sdl2_image pkgver=2.0.1 -pkgrel=2 +pkgrel=3 _pkgname=SDL2_image pkgdesc="A simple library to load images of various formats as SDL surfaces" url="http://www.libsdl.org/projects/SDL_image/" arch="all" license="zlib" -depends="" makedepends="sdl2-dev libpng-dev libjpeg-turbo-dev libwebp-dev tiff-dev zlib-dev" subpackages="$pkgname-dev" @@ -21,16 +20,23 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ + --disable-static \ + --enable-png \ + --enable-png-shared \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 + --infodir=/usr/share/info + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } md5sums="d94b94555ba022fa249a53a021dc3606 SDL2_image-2.0.1.tar.gz" |