wok annotate libsdl2-ttf/receipt @ rev 24621

updated graphicsmagick (1.3.34 -> 1.3.37)
author Hans-G?nter Theisgen
date Mon Mar 07 11:14:15 2022 +0100 (2022-03-07)
parents 21b978d46460
children 538acd8dcbb5
rev   line source
tcg@17137 1 # SliTaz package receipt.
tcg@17137 2
tcg@17137 3 PACKAGE="libsdl2-ttf"
Hans-G?nter@21305 4 VERSION="2.0.15"
tcg@17137 5 CATEGORY="x-window"
tcg@17137 6 SHORT_DESC="SDL2 ttf support."
tcg@17137 7 MAINTAINER="tcg.thegamer@gmail.com"
tcg@17137 8 LICENSE="LGPL2.1"
Hans-G?nter@21305 9 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
Hans-G?nter@21305 10
Hans-G?nter@21305 11 SOURCE="SDL2_ttf"
tcg@17137 12 TARBALL="$SOURCE-$VERSION.tar.gz"
tcg@17137 13 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
Hans-G?nter@21305 14
Hans-G?nter@21305 15 DEPENDS="freetype libsdl2 zlib"
Hans-G?nter@21305 16 BUILD_DEPENDS="freetype-dev 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 {
tcg@17137 30 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21305 31 make -j 1 &&
Hans-G?nter@21305 32 make install
tcg@17137 33 }
tcg@17137 34
tcg@17137 35 # Rules to gen a SliTaz package suitable for Tazpkg.
tcg@17137 36 genpkg_rules()
tcg@17137 37 {
tcg@17137 38 mkdir -p $fs/usr/lib
tcg@17137 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
tcg@17137 40 }