wok-6.x annotate ftgl/receipt @ rev 24512

updated electric-fence (2.2.5 -> 2.2.6)
author Hans-G?nter Theisgen
date Mon Feb 21 10:26:56 2022 +0100 (2022-02-21)
parents 640a2eba2511
children 3911e4610e39
rev   line source
slaxemulator@6554 1 # SliTaz package receipt.
slaxemulator@6554 2
slaxemulator@6554 3 PACKAGE="ftgl"
slaxemulator@6554 4 VERSION="2.1.3-rc5"
slaxemulator@6554 5 CATEGORY="x-window"
slaxemulator@6554 6 SHORT_DESC="OpenGL library to use arbitrary fonts"
slaxemulator@6554 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15593 8 LICENSE="GPL2"
slaxemulator@6554 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20673 10 WEB_SITE="https://sourceforge.net/projects/ftgl/"
slaxemulator@6554 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6554 12
pascal@13796 13 DEPENDS="freetype freeglut mesa libglu-mesa"
pascal@13796 14 BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev"
pascal@13796 15
pascal@24385 16 # What is the latest version available today?
pascal@24385 17 current_version()
pascal@24385 18 {
pascal@24385 19 wget -O - https://sourceforge.net/projects/ftgl/files/FTGL%20Source/ 2>/dev/null | \
pascal@24385 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24414 21 sed '/scope="row/!d;s|.*ource/||;s|/.*||;s|~|-|;q'
pascal@24385 22 }
pascal@24385 23
slaxemulator@6554 24 # Rules to configure and make the package.
slaxemulator@6554 25 compile_rules()
slaxemulator@6554 26 {
slaxemulator@6554 27 cd $src
pascal@12763 28 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL"
slaxemulator@6554 30 ./configure \
slaxemulator@6554 31 --with-pic \
slaxemulator@6554 32 $CONFIGURE_ARGS &&
slaxemulator@11168 33 make && make DESTDIR=$DESTDIR install
slaxemulator@6554 34 }
slaxemulator@6554 35
slaxemulator@6554 36 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6554 37 genpkg_rules()
slaxemulator@6554 38 {
slaxemulator@6554 39 mkdir -p $fs/usr/lib
pascal@13796 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6554 41 }
slaxemulator@6554 42