wok annotate libsdl-gfx/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (14 months ago)
parents 34e801e0eb52
children
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"
pascal@25499 11 WEB_SITE="https://www.ferzkopp.net/joomla/content/view/19/14/"
pascal@25499 12 WGET_URL="https://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 }