wok-next view ftgl/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children 5669e8b3be70
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="devel@slitaz.org"
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="$PACKAGE-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=$install 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 }