wok-current view libsdl2-image/receipt @ rev 24619

updated gptfdisk (1.0.5 -> 1.0.8)
author Hans-G?nter Theisgen
date Mon Mar 07 10:40:58 2022 +0100 (2022-03-07)
parents da134f47b369
children c3b5dafdd798
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="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
11 SOURCE="SDL2_image"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
15 DEPENDS="jpeg libpng libsdl2 tiff zlib"
16 BUILD_DEPENDS="jpeg-dev libpng-dev libsdl2-dev tiff-dev zlib-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure $CONFIGURE_ARGS \
31 LIBS=" -lz " &&
32 make -j 1 &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }