wok annotate libsdl-image/receipt @ rev 24494

updated dolibarr (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:37:42 2022 +0100 (2022-02-19)
parents 087c88e4ce10
children
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@24447 20 # What is the latest version available today?
pascal@24447 21 current_version()
pascal@24447 22 {
pascal@24447 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 24 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 25 }
pascal@24447 26
pascal@1136 27 # Rules to configure and make the package.
pascal@1136 28 compile_rules()
pascal@1136 29 {
Hans-G?nter@21290 30 ./configure \
Hans-G?nter@21290 31 LIBS=" -lz " \
Hans-G?nter@21290 32 $CONFIGURE_ARGS &&
Hans-G?nter@21290 33 make -j 1 &&
Hans-G?nter@21290 34 make install
pascal@1136 35 }
pascal@1136 36
pascal@1136 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 38 genpkg_rules()
pascal@1136 39 {
pascal@1136 40 mkdir -p $fs/usr/lib
pascal@14718 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1136 42 }