wok-6.x view ftgl/receipt @ rev 23363
updated perl-log-agent (0.2.8 -> 1.003)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 11:09:53 2020 +0100 (2020-03-31) |
parents | 17e313b5b9c1 |
children | 640a2eba2511 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ftgl"
4 VERSION="2.1.3-rc5"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL library to use arbitrary fonts"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://sourceforge.net/projects/ftgl/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="freetype freeglut mesa libglu-mesa"
14 BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL"
22 ./configure \
23 --with-pic \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }