wok-next view ftgl/receipt @ rev 20906
Update homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 10 12:53:17 2018 +0300 (2018-08-10) |
parents | 835b3b8ce6ac |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://sourceforge.net/projects/ftgl/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="freetype-dev freeglut-dev mesa-dev glu-dev \
15 expat-dev xorg-libxshmfence-dev"
16 SPLIT="ftgl-dev"
18 compile_rules() {
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL"
22 ./configure \
23 --with-pic \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 ftgl)
33 copy @std
34 DEPENDS="freetype freeglut mesa glu"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }