wok-next annotate libsdl-image/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | c4e53a39395a |
children | df20b2110f7e |
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@20595 | 18 ./configure $CONFIGURE_ARGS && |
al@20595 | 19 fix libtool && |
al@20595 | 20 make && |
al@20595 | 21 make install |
pascal@1136 | 22 } |
pascal@1136 | 23 |
al@19965 | 24 genpkg_rules() { |
al@19965 | 25 case $PACKAGE in |
al@19965 | 26 libsdl-image) |
al@19965 | 27 copy @std |
al@19965 | 28 DEPENDS="libsdl" |
al@19965 | 29 ;; |
al@19965 | 30 *-dev) |
al@19965 | 31 copy @dev |
al@19965 | 32 DEPENDS="libsdl-image libsdl-dev" |
al@19965 | 33 ;; |
al@19965 | 34 esac |
pascal@1136 | 35 } |