wok-next annotate libsdl-image/receipt @ rev 19965
Up frogatto, glew, gtkspell3, libsdl-gfx, libsdl-image, libsdl-mixer, libsdl-net, libsdl-pango, libsdl-ttf, osmo.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 17 13:43:41 2017 +0300 (2017-10-17) |
parents | 4cd474907d60 |
children | c4e53a39395a |
rev | line source |
---|---|
al@19965 | 1 # SliTaz package receipt v2. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="libsdl-image" |
al@19965 | 4 VERSION="1.2.12" |
pascal@1136 | 5 CATEGORY="development" |
al@19965 | 6 SHORT_DESC="An image file loading library" |
pascal@1136 | 7 MAINTAINER="chadi.elahmad@gmail.com" |
pascal@14718 | 8 LICENSE="LGPL2.1" |
al@19965 | 9 WEB_SITE="http://www.libsdl.org/projects/SDL_image/release-1.2.html" |
pankso@16237 | 10 HOST_ARCH="i486 arm" |
pankso@9890 | 11 |
al@19965 | 12 TARBALL="SDL_image-$VERSION.tar.gz" |
al@19965 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" |
pascal@1136 | 14 |
al@19965 | 15 BUILD_DEPENDS="libsdl-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev" |
al@19965 | 16 SPLIT="libsdl-image-dev" |
al@19965 | 17 |
al@19965 | 18 compile_rules() { |
al@19965 | 19 ./configure $CONFIGURE_ARGS && make && make install |
pascal@1136 | 20 } |
pascal@1136 | 21 |
al@19965 | 22 genpkg_rules() { |
al@19965 | 23 case $PACKAGE in |
al@19965 | 24 libsdl-image) |
al@19965 | 25 copy @std |
al@19965 | 26 DEPENDS="libsdl" |
al@19965 | 27 ;; |
al@19965 | 28 *-dev) |
al@19965 | 29 copy @dev |
al@19965 | 30 DEPENDS="libsdl-image libsdl-dev" |
al@19965 | 31 ;; |
al@19965 | 32 esac |
pascal@1136 | 33 } |