wok-next view libsdl-image/receipt @ rev 20983

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 28 13:48:52 2018 +0300 (2018-09-28)
parents 5841522533ec
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl-image"
4 VERSION="1.2.12"
5 CATEGORY="development"
6 SHORT_DESC="An image file loading library"
7 MAINTAINER="chadi.elahmad@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_image/release-1.2.html"
10 REPOLOGY="sdl-image"
12 TARBALL="SDL_image-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
15 BUILD_DEPENDS="libsdl-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev"
16 SPLIT="libsdl-image-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libsdl-image)
28 copy @std
29 DEPENDS="libsdl"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libsdl-image libsdl-dev"
34 ;;
35 esac
36 }