wok annotate ftgl/receipt @ rev 8746

Add perl-class-accessor
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 18:29:48 2011 +0000 (2011-02-19)
parents
children b8a5a7469925
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 ln -s $WOK/$PACKAGE/$PACKAGE-2.1.3~rc5 $WOK/$PACKAGE/$PACKAGE-$VERSION
slaxemulator@6554 18 cd $src
slaxemulator@6554 19 ./configure \
slaxemulator@6554 20 --prefix=/usr \
slaxemulator@6554 21 --infodir=/usr/share/info \
slaxemulator@6554 22 --mandir=/usr/share/man \
slaxemulator@6554 23 --with-pic \
slaxemulator@6554 24 $CONFIGURE_ARGS &&
slaxemulator@6554 25 make && make DESTDIR=$PWD/_pkg 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
slaxemulator@6554 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6554 33 }
slaxemulator@6554 34