wok view libsdl-gfx/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-gfx"
4 SOURCE="SDL_gfx"
5 VERSION="2.0.23"
6 CATEGORY="x-window"
7 SHORT_DESC="SDL gfx support."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.ferzkopp.net/joomla/content/view/19/14/"
12 WGET_URL="https://www.ferzkopp.net/Software/SDL_gfx-${VERSION%.*}/$TARBALL"
14 DEPENDS="libsdl"
15 BUILD_DEPENDS="libsdl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.[a-z].*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }