wok view libsdl-ttf/receipt @ rev 25473

created recipe for get-java8-jre
author Hans-G?nter Theisgen
date Wed Oct 12 10:36:11 2022 +0100 (2022-10-12)
parents 4cd474907d60
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-ttf"
4 SOURCE="SDL_ttf"
5 VERSION="2.0.10"
6 CATEGORY="x-window"
7 SHORT_DESC="SDL ttf support."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
12 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libsdl freetype zlib"
16 BUILD_DEPENDS="libsdl-dev freetype-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }