wok-4.x annotate quesoglc/receipt @ rev 11349

ypserv: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Nov 29 01:25:59 2011 +0100 (2011-11-29)
parents
children
rev   line source
slaxemulator@6550 1 # SliTaz package receipt.
slaxemulator@6550 2
slaxemulator@6550 3 PACKAGE="quesoglc"
slaxemulator@6550 4 VERSION="0.7.2"
slaxemulator@6550 5 CATEGORY="x-window"
slaxemulator@6550 6 SHORT_DESC="The OpenGL Character Renderer (GLC) is a state machine that provides OpenGL programs with character rendering services via an application programming interface (API)."
slaxemulator@6550 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6550 8 DEPENDS="freetype fontconfig freeglut fribidi mesa libglu-mesa expat xorg-libXxf86vm libxcb"
slaxemulator@6550 9 BUILD_DEPENDS="$DEPENDS freetype-dev fontconfig-dev freeglut-dev fribidi-dev mesa-dev expat-dev xorg-libXxf86vm-dev util-linux-ng-uuid-dev libxcb-dev"
slaxemulator@6550 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6550 11 WEB_SITE="http://quesoglc.sourceforge.net/"
slaxemulator@6550 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6550 13
slaxemulator@6550 14 # Rules to configure and make the package.
slaxemulator@6550 15 compile_rules()
slaxemulator@6550 16 {
slaxemulator@6550 17 cd $src
slaxemulator@6550 18 ./configure \
slaxemulator@6550 19 --prefix=/usr \
slaxemulator@6550 20 --infodir=/usr/share/info \
slaxemulator@6550 21 --mandir=/usr/share/man \
slaxemulator@6550 22 $CONFIGURE_ARGS &&
slaxemulator@6550 23 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6550 24 }
slaxemulator@6550 25
slaxemulator@6550 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6550 27 genpkg_rules()
slaxemulator@6550 28 {
slaxemulator@6550 29 mkdir -p $fs/usr/lib
slaxemulator@6550 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6550 31 }
slaxemulator@6550 32