wok annotate libsdl2-ttf/receipt @ rev 24960

updated ncurses packages (6.2 -> 6.3)
author Hans-G?nter Theisgen
date Sat Apr 23 17:46:30 2022 +0100 (2022-04-23)
parents ede1d184d5c5
children 5db546345599
rev   line source
tcg@17137 1 # SliTaz package receipt.
tcg@17137 2
tcg@17137 3 PACKAGE="libsdl2-ttf"
Hans-G?nter@24825 4 VERSION="2.0.18"
tcg@17137 5 CATEGORY="x-window"
tcg@17137 6 SHORT_DESC="SDL2 ttf support."
tcg@17137 7 MAINTAINER="tcg.thegamer@gmail.com"
Hans-G?nter@24825 8 LICENSE="Zlib"
Hans-G?nter@24825 9 WEB_SITE="https://github.com/libsdl-org/SDL_ttf"
Hans-G?nter@21305 10
Hans-G?nter@21305 11 SOURCE="SDL2_ttf"
tcg@17137 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24825 13 WGET_URL="$WEB_SITE/archive/refs/tags/release-$VERSION.tar.gz"
Hans-G?nter@21305 14
Hans-G?nter@24825 15 DEPENDS="freetype gcc83-lib-base libsdl2 zlib"
Hans-G?nter@24825 16 BUILD_DEPENDS="freetype-dev gcc83 libsdl2-dev"
Hans-G?nter@21305 17
tcg@17137 18 HOST_ARCH="i486 arm"
tcg@17137 19
pascal@24447 20 # What is the latest version available today?
pascal@24447 21 current_version()
pascal@24447 22 {
pascal@24447 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 24 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 25 }
pascal@24447 26
tcg@17137 27 # Rules to configure and make the package.
tcg@17137 28 compile_rules()
tcg@17137 29 {
Hans-G?nter@24825 30 ./configure \
Hans-G?nter@24825 31 CC=gcc-83 \
Hans-G?nter@24825 32 CXX=g++-83 \
Hans-G?nter@24825 33 $CONFIGURE_ARGS &&
Hans-G?nter@24825 34 make &&
Hans-G?nter@21305 35 make install
tcg@17137 36 }
tcg@17137 37
tcg@17137 38 # Rules to gen a SliTaz package suitable for Tazpkg.
tcg@17137 39 genpkg_rules()
tcg@17137 40 {
Hans-G?nter@24825 41 cook_copy_files *.so*
tcg@17137 42 }