wok annotate libsdl-image/receipt @ rev 23501

updated python-jinja2 (2.7 -> 2.11.1)
author Hans-G?nter Theisgen
date Mon Apr 06 07:57:27 2020 +0100 (2020-04-06)
parents 4cd474907d60
children ede1d184d5c5
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="libsdl-image"
pascal@1136 4 SOURCE="SDL_image"
Hans-G?nter@21290 5 VERSION="1.2.12"
pascal@1136 6 CATEGORY="development"
pascal@1136 7 SHORT_DESC="An image file loading library."
pascal@1136 8 MAINTAINER="chadi.elahmad@gmail.com"
pascal@14718 9 LICENSE="LGPL2.1"
Hans-G?nter@21290 10 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
Hans-G?nter@21290 11
pascal@1136 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1136 13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
Hans-G?nter@21290 14
Hans-G?nter@21290 15 DEPENDS="jpeg libpng libsdl tiff zlib"
Hans-G?nter@21290 16 BUILD_DEPENDS="jpeg-dev libpng-dev libsdl-dev tiff-dev zlib-dev"
Hans-G?nter@21290 17
pankso@16237 18 HOST_ARCH="i486 arm"
pankso@9890 19
pascal@1136 20 # Rules to configure and make the package.
pascal@1136 21 compile_rules()
pascal@1136 22 {
Hans-G?nter@21290 23 ./configure \
Hans-G?nter@21290 24 LIBS=" -lz " \
Hans-G?nter@21290 25 $CONFIGURE_ARGS &&
Hans-G?nter@21290 26 make -j 1 &&
Hans-G?nter@21290 27 make install
pascal@1136 28 }
pascal@1136 29
pascal@1136 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 31 genpkg_rules()
pascal@1136 32 {
pascal@1136 33 mkdir -p $fs/usr/lib
pascal@14718 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1136 35 }