mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
* Enable libwebp, since we have it now. (still dynamic dep) * Fix license; this is zlib license, not LGPL. * Mark as having no test suite. * Modernise to meet modern Alpine packaging standards.
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=sdl_image
|
|
pkgver=1.2.12
|
|
pkgrel=4
|
|
pkgdesc="A simple library to load images of various formats as SDL surfaces"
|
|
url="http://www.libsdl.org/projects/SDL_image/"
|
|
arch="all"
|
|
options="!check" # No test suite.
|
|
license="Zlib"
|
|
depends=""
|
|
makedepends="sdl-dev libpng-dev libjpeg-turbo-dev libwebp-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"
|
|
update_config_sub
|
|
default_prepare
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="0e71b280abc2a7f15755e4480a3c1b52d41f9f8b0c9216a6f5bd9fc0e939456fb5d6c10419e1d1904785783f9a1891ead278c03e88b0466fecc6871c3ca40136 SDL_image-1.2.12.tar.gz"
|