wok-current view libsdl2-image/receipt @ rev 24329
updated at (3.1.23 -> 3.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 14:44:44 2022 +0100 (2022-01-27) |
parents | 4edee500eec9 |
children | ede1d184d5c5 |
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure $CONFIGURE_ARGS \
24 LIBS=" -lz " &&
25 make -j 1 &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }