wok-next view libsdl2-image/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents c4e53a39395a
children df20b2110f7e
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/"
11 TARBALL="SDL2_image-$VERSION.tar.gz"
12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
14 BUILD_DEPENDS="libsdl2-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev"
15 SPLIT="libsdl2-image-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libsdl2-image)
27 copy @std
28 DEPENDS="libsdl2 tslib"
29 SUGGESTED="libjpeg-turbo libpng16 tiff libwebp"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libsdl2-image libsdl2-dev tslib-dev"
34 ;;
35 esac
36 }