wok annotate libsdl2-image/receipt @ rev 21724
updated ptxdist again (2012.03.0 -> 2019.06.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 12 15:14:06 2019 +0100 (2019-06-12) |
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 } |