wok-6.x annotate ftgl/receipt @ rev 12237
uclibc-cross-compiler: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:07:54 2012 +0200 (2012-04-09) |
parents | a820dca1f67f |
children | d361a98367e5 |
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 |
slaxemulator@6554 | 18 ./configure \ |
slaxemulator@6554 | 19 --with-pic \ |
slaxemulator@6554 | 20 $CONFIGURE_ARGS && |
slaxemulator@11168 | 21 make && make DESTDIR=$DESTDIR install |
slaxemulator@6554 | 22 } |
slaxemulator@6554 | 23 |
slaxemulator@6554 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6554 | 25 genpkg_rules() |
slaxemulator@6554 | 26 { |
slaxemulator@6554 | 27 mkdir -p $fs/usr/lib |
slaxemulator@6554 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6554 | 29 } |
slaxemulator@6554 | 30 |