wok-next annotate libsdl2-image/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents df20b2110f7e
children 5669e8b3be70
rev   line source
al@20231 1 # SliTaz package receipt v2.
tcg@17134 2
tcg@17134 3 PACKAGE="libsdl2-image"
al@20231 4 VERSION="2.0.1"
al@20231 5 CATEGORY="graphics"
al@20231 6 SHORT_DESC="An image file loading library"
al@21020 7 MAINTAINER="devel@slitaz.org"
tcg@17134 8 LICENSE="LGPL2.1"
tcg@17134 9 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
al@20883 10 REPOLOGY="sdl2-image"
tcg@17134 11
al@20231 12 TARBALL="SDL2_image-$VERSION.tar.gz"
al@20231 13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
tcg@17134 14
al@20231 15 BUILD_DEPENDS="libsdl2-dev libjpeg-turbo-dev libpng16-dev tiff-dev libwebp-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@20231 17
al@20231 18 compile_rules() {
al@20595 19 ./configure $CONFIGURE_ARGS &&
al@20595 20 fix libtool &&
al@20595 21 make &&
al@20595 22 make install
tcg@17134 23 }
tcg@17134 24
al@20231 25 genpkg_rules() {
al@20231 26 case $PACKAGE in
al@20231 27 libsdl2-image)
al@20231 28 copy @std
al@20231 29 DEPENDS="libsdl2 tslib"
al@20231 30 SUGGESTED="libjpeg-turbo libpng16 tiff libwebp"
al@20231 31 ;;
al@20231 32 *-dev)
al@20231 33 copy @dev
al@20231 34 DEPENDS="libsdl2-image libsdl2-dev tslib-dev"
al@20231 35 ;;
al@20231 36 esac
tcg@17134 37 }