wok view ftgl/receipt @ rev 13113

liblrdf-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 11:54:40 2012 +0200 (2012-06-27)
parents b8a5a7469925
children 6b09507225ec
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 DEPENDS="freetype freeglut mesa libglu-mesa"
9 BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://ftgl.wiki.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lGL"
20 ./configure \
21 --with-pic \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }