wok-stable view ftgl/receipt @ rev 9618

Fixed tazdrop to us tazwok get-src slitaz-tools --target=src. This way its not downloading every time its build.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 17 20:36:34 2011 +0000 (2011-04-17)
parents
children b8a5a7469925
line source
1 # SliTaz package receipt.
3 PACKAGE="ftgl"
4 VERSION="2.1.3-rc5"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL library to use arbitrary fonts"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="freetype freeglut mesa libglu-mesa"
9 BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://ftgl.wiki.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ln -s $WOK/$PACKAGE/$PACKAGE-2.1.3~rc5 $WOK/$PACKAGE/$PACKAGE-$VERSION
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --with-pic \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }