wok view libsdl2-image/receipt @ rev 25559

updated xfce4-ristretto 0.6.3 -> 0.8.5
author Hans-G?nter Theisgen
date Tue Apr 25 15:16:20 2023 +0100 (18 months ago)
parents ede1d184d5c5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2-image"
4 VERSION="2.0.5"
5 CATEGORY="development"
6 SHORT_DESC="An image file loading library."
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="Zlib"
9 WEB_SITE="https://www.libsdl.org/projects/SDL_image/"
10 REPOLOGY="sdl2-image"
12 SOURCE="SDL2_image"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}release/$TARBALL"
16 DEPENDS="jpeg libpng libsdl2 tiff zlib"
17 BUILD_DEPENDS="jpeg-dev libpng-dev libsdl2-dev tiff-dev zlib-dev"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 LIBS=" -lz " \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files *.so*
42 }