wok-current annotate libsdl2-image/receipt @ rev 22788
updated fwbuilder (5.0.0.3568 -> 5.3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 27 06:55:09 2020 +0100 (2020-01-27) |
parents | 6c18318f82e7 |
children | da134f47b369 |
rev | line source |
---|---|
tcg@17134 | 1 # SliTaz package receipt. |
tcg@17134 | 2 |
tcg@17134 | 3 PACKAGE="libsdl2-image" |
Hans-G?nter@21303 | 4 VERSION="2.0.4" |
tcg@17134 | 5 CATEGORY="development" |
tcg@17134 | 6 SHORT_DESC="An image file loading library." |
tcg@17134 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
tcg@17134 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21303 | 9 WEB_SITE="http://www.libsdl.org/projects/SDL_image/" |
Hans-G?nter@21303 | 10 |
Hans-G?nter@21303 | 11 SOURCE="SDL2_image" |
tcg@17134 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
tcg@17134 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" |
Hans-G?nter@21303 | 14 |
Hans-G?nter@21303 | 15 DEPENDS="jpeg libpng libsdl2 tiff zlib" |
Hans-G?nter@21303 | 16 BUILD_DEPENDS="jpeg-dev libpng-dev libsdl2-dev tiff-dev zlib-dev" |
Hans-G?nter@21303 | 17 |
tcg@17134 | 18 HOST_ARCH="i486 arm" |
tcg@17134 | 19 |
tcg@17134 | 20 # Rules to configure and make the package. |
tcg@17134 | 21 compile_rules() |
tcg@17134 | 22 { |
tcg@17134 | 23 ./configure $CONFIGURE_ARGS \ |
tcg@17134 | 24 LIBS=" -lz " && |
Hans-G?nter@21303 | 25 make -j 1 && |
Hans-G?nter@21303 | 26 make install |
tcg@17134 | 27 } |
tcg@17134 | 28 |
tcg@17134 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
tcg@17134 | 30 genpkg_rules() |
tcg@17134 | 31 { |
tcg@17134 | 32 mkdir -p $fs/usr/lib |
tcg@17134 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
tcg@17134 | 34 } |