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

lighttpd: add missing SPLIT
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 20 08:05:51 2017 +0200 (2017-10-20)
parents 4cd474907d60
children c4e53a39395a
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 HOST_ARCH="i486 arm"
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 && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 libsdl-image)
25 copy @std
26 DEPENDS="libsdl"
27 ;;
28 *-dev)
29 copy @dev
30 DEPENDS="libsdl-image libsdl-dev"
31 ;;
32 esac
33 }