wok-next view libsdl2-image/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | df20b2110f7e |
children | 5669e8b3be70 |
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
10 REPOLOGY="sdl2-image"
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="$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 libsdl2-image)
28 copy @std
29 DEPENDS="libsdl2 tslib"
30 SUGGESTED="libjpeg-turbo libpng16 tiff libwebp"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libsdl2-image libsdl2-dev tslib-dev"
35 ;;
36 esac
37 }