wok-next view libsdl2-image/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 6c18318f82e7 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl2-image"
4 VERSION="2.0.1"
5 CATEGORY="graphics"
6 SHORT_DESC="An image file loading library"
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
10 HOST_ARCH="i486 arm"
12 TARBALL="SDL2_image-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
15 BUILD_DEPENDS="libsdl2-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev"
16 SPLIT="libsdl2-image-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 libsdl2-image)
25 copy @std
26 DEPENDS="libsdl2 tslib"
27 SUGGESTED="libjpeg-turbo libpng16 tiff libwebp"
28 ;;
29 *-dev)
30 copy @dev
31 DEPENDS="libsdl2-image libsdl2-dev tslib-dev"
32 ;;
33 esac
34 }