wok-next rev 6554

Added ftgl. OpenGL libarary to use arbitrary fonts.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 07 14:08:18 2010 +0000 (2010-10-07)
parents 3887fc200b8c
children 7ef6b00b9685
files ftgl-dev/receipt ftgl/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ftgl-dev/receipt	Thu Oct 07 14:08:18 2010 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ftgl-dev"
     1.7 +VERSION="2.1.3-rc5"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for ftgl"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="ftgl"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://ftgl.wiki.sourceforge.net/"
    1.14 +WANTED="ftgl"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.23 +}
    1.24 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ftgl/receipt	Thu Oct 07 14:08:18 2010 +0000
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ftgl"
     2.7 +VERSION="2.1.3-rc5"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="OpenGL library to use arbitrary fonts"
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +DEPENDS="freetype freeglut mesa libglu-mesa"
    2.12 +BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WEB_SITE="http://ftgl.wiki.sourceforge.net/"
    2.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	ln -s $WOK/$PACKAGE/$PACKAGE-2.1.3~rc5 $WOK/$PACKAGE/$PACKAGE-$VERSION
    2.21 +	cd $src
    2.22 +	./configure \
    2.23 +		--prefix=/usr \
    2.24 +		--infodir=/usr/share/info \
    2.25 +		--mandir=/usr/share/man \
    2.26 +		--with-pic \
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	make && make DESTDIR=$PWD/_pkg install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/lib
    2.35 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.36 +}
    2.37 +