wok-next view libsdl-image/receipt @ rev 20593
Up gpm (1.20.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 16:28:35 2018 +0300 (2018-04-14) |
parents | 595097cb4e40 |
children | 5841522533ec |
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"
11 TARBALL="SDL_image-$VERSION.tar.gz"
12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev"
15 SPLIT="libsdl-image-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS && make && make install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 libsdl-image)
24 copy @std
25 DEPENDS="libsdl"
26 ;;
27 *-dev)
28 copy @dev
29 DEPENDS="libsdl-image libsdl-dev"
30 ;;
31 esac
32 }