wok annotate ftgl/receipt @ rev 13361

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