wok-6.x view libsdl2-ttf/receipt @ rev 24715
updated lfs-book (8.4 -> 11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 06:57:03 2022 +0100 (2022-03-15) |
parents | 21b978d46460 |
children | 538acd8dcbb5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2-ttf"
4 VERSION="2.0.15"
5 CATEGORY="x-window"
6 SHORT_DESC="SDL2 ttf support."
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
11 SOURCE="SDL2_ttf"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
15 DEPENDS="freetype libsdl2 zlib"
16 BUILD_DEPENDS="freetype-dev libsdl2-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }