wok view ftgl/receipt @ rev 15063
hdf5: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:59:59 2013 +0000 (2013-08-13) |
parents | d361a98367e5 |
children | 3b4e4318134e |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://ftgl.wiki.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="freetype freeglut mesa libglu-mesa"
13 BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lGL"
21 ./configure \
22 --with-pic \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }