wok-next annotate ftgl/receipt @ rev 14875

Up: python-django (1.5.1)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Jul 23 19:28:00 2013 -0300 (2013-07-23)
parents d361a98367e5
children 3b4e4318134e
rev   line source
slaxemulator@6554 1 # SliTaz package receipt.
slaxemulator@6554 2
slaxemulator@6554 3 PACKAGE="ftgl"
slaxemulator@6554 4 VERSION="2.1.3-rc5"
slaxemulator@6554 5 CATEGORY="x-window"
slaxemulator@6554 6 SHORT_DESC="OpenGL library to use arbitrary fonts"
slaxemulator@6554 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6554 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6554 9 WEB_SITE="http://ftgl.wiki.sourceforge.net/"
slaxemulator@6554 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6554 11
pascal@13796 12 DEPENDS="freetype freeglut mesa libglu-mesa"
pascal@13796 13 BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev"
pascal@13796 14
slaxemulator@6554 15 # Rules to configure and make the package.
slaxemulator@6554 16 compile_rules()
slaxemulator@6554 17 {
slaxemulator@6554 18 cd $src
pascal@12763 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12763 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lGL"
slaxemulator@6554 21 ./configure \
slaxemulator@6554 22 --with-pic \
slaxemulator@6554 23 $CONFIGURE_ARGS &&
slaxemulator@11168 24 make && make DESTDIR=$DESTDIR install
slaxemulator@6554 25 }
slaxemulator@6554 26
slaxemulator@6554 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6554 28 genpkg_rules()
slaxemulator@6554 29 {
slaxemulator@6554 30 mkdir -p $fs/usr/lib
pascal@13796 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6554 32 }
slaxemulator@6554 33