wok-6.x annotate libsdl-gfx/receipt @ rev 25018

updated openjpeg, openjpeg-dev and openjpeg-tools again (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 07:14:08 2022 +0100 (2022-05-18)
parents d3eb5f4b53ea
children f7cc93574053
rev   line source
pankso@1188 1 # SliTaz package receipt.
pankso@1188 2
pankso@1188 3 PACKAGE="libsdl-gfx"
pankso@1188 4 SOURCE="SDL_gfx"
slaxemulator@11408 5 VERSION="2.0.23"
pankso@1188 6 CATEGORY="x-window"
pankso@1188 7 SHORT_DESC="SDL gfx support."
pankso@1188 8 MAINTAINER="pankso@slitaz.org"
pascal@15021 9 LICENSE="LGPL"
pankso@1188 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@1188 11 WEB_SITE="http://www.ferzkopp.net/joomla/content/view/19/14/"
pascal@17869 12 WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-${VERSION%.*}/$TARBALL"
pankso@1188 13
pankso@9997 14 DEPENDS="libsdl"
pankso@9997 15 BUILD_DEPENDS="libsdl-dev"
pankso@9997 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@24497 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24497 21 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.[a-z].*||" | sort -Vr | sed q
pascal@24497 22 }
pascal@24497 23
pankso@1188 24 # Rules to configure and make the package.
pankso@1188 25 compile_rules()
pankso@1188 26 {
slaxemulator@11408 27 ./configure $CONFIGURE_ARGS && make && make install
pankso@1188 28 }
pankso@1188 29
pankso@1188 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1188 31 genpkg_rules()
pankso@1188 32 {
pankso@1188 33 mkdir -p $fs/usr/lib
pascal@14718 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@1188 35 }