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

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children
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="devel@slitaz.org"
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 libpng-dev tiff-dev libwebp-dev"
16 SPLIT="$PACKAGE-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 }