wok-6.x view libsdl-gfx/receipt @ rev 24696
updated kamailio (5.3.2 -> 5.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:05:22 2022 +0100 (2022-03-13) |
parents | d3eb5f4b53ea |
children | f7cc93574053 |
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="http://www.ferzkopp.net/joomla/content/view/19/14/"
12 WGET_URL="http://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 }