wok-next annotate 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 |
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@9890 | 10 |
al@19965 | 11 TARBALL="SDL_image-$VERSION.tar.gz" |
al@19965 | 12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" |
pascal@1136 | 13 |
al@19965 | 14 BUILD_DEPENDS="libsdl-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev" |
al@19965 | 15 SPLIT="libsdl-image-dev" |
al@19965 | 16 |
al@19965 | 17 compile_rules() { |
al@19965 | 18 ./configure $CONFIGURE_ARGS && make && make install |
pascal@1136 | 19 } |
pascal@1136 | 20 |
al@19965 | 21 genpkg_rules() { |
al@19965 | 22 case $PACKAGE in |
al@19965 | 23 libsdl-image) |
al@19965 | 24 copy @std |
al@19965 | 25 DEPENDS="libsdl" |
al@19965 | 26 ;; |
al@19965 | 27 *-dev) |
al@19965 | 28 copy @dev |
al@19965 | 29 DEPENDS="libsdl-image libsdl-dev" |
al@19965 | 30 ;; |
al@19965 | 31 esac |
pascal@1136 | 32 } |