wok annotate ftgl/receipt @ rev 16091
Up xine-lib (1.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 16 10:04:50 2014 +0000 (2014-03-16) |
parents | 6b09507225ec |
children | 17e313b5b9c1 |
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@12763 | 21 export 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 |