wok-6.x annotate ftgl/receipt @ rev 18898

slitaz-boot-scripts (424), slitaz-tools (966), tazpanel (567), tazusb (184)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 17 11:45:28 2016 +0100 (2016-02-17)
parents 3b4e4318134e
children e3f377fbc5f0
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"
pascal@15593 8 LICENSE="GPL2"
slaxemulator@6554 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6554 10 WEB_SITE="http://ftgl.wiki.sourceforge.net/"
slaxemulator@6554 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6554 12
pascal@13796 13 DEPENDS="freetype freeglut mesa libglu-mesa"
pascal@13796 14 BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev"
pascal@13796 15
slaxemulator@6554 16 # Rules to configure and make the package.
slaxemulator@6554 17 compile_rules()
slaxemulator@6554 18 {
slaxemulator@6554 19 cd $src
pascal@12763 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL"
slaxemulator@6554 22 ./configure \
slaxemulator@6554 23 --with-pic \
slaxemulator@6554 24 $CONFIGURE_ARGS &&
slaxemulator@11168 25 make && make DESTDIR=$DESTDIR install
slaxemulator@6554 26 }
slaxemulator@6554 27
slaxemulator@6554 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6554 29 genpkg_rules()
slaxemulator@6554 30 {
slaxemulator@6554 31 mkdir -p $fs/usr/lib
pascal@13796 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6554 33 }
slaxemulator@6554 34