wok-next view ftgl/receipt @ rev 21283
gnome-online-accounts: modified checksum
author | Hans-G?nter Theisgen |
---|---|
date | Sun Dec 08 11:02:06 2019 +0100 (2019-12-08) |
parents | d5aab818505e |
children |
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 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 }