wok-4.x annotate gtkglext/receipt @ rev 6117

fbida: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 05 10:08:04 2010 +0200 (2010-09-05)
parents 9f19aee613be
children 9ea1cecd5572
rev   line source
pankso@4321 1 # SliTaz package receipt.
pankso@4321 2
pankso@4321 3 PACKAGE="gtkglext"
pankso@4321 4 VERSION="1.2.0"
pankso@4321 5 CATEGORY="x-window"
pankso@4321 6 SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+."
pankso@4321 7 MAINTAINER="pankso@slitaz.org"
jozee@5018 8 DEPENDS="gtk+ mesa libglu-mesa"
jozee@5018 9 SUGGESTED="nvidia"
pankso@4321 10 BUILD_DEPENDS="gtk+-dev mesa-dev"
pankso@4321 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4321 12 WEB_SITE="http://gtkglext.sourceforge.net/"
pankso@4321 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@4321 14
pankso@4321 15 # Rules to configure and make the package.
pankso@4321 16 compile_rules()
pankso@4321 17 {
pankso@4321 18 cd $src
pankso@4321 19 ./configure \
pankso@4321 20 --prefix=/usr \
pankso@4321 21 $CONFIGURE_ARGS &&
pankso@4321 22 make &&
pankso@4321 23 make DESTDIR=$PWD/_pkg install
pankso@4321 24 }
pankso@4321 25
pankso@4321 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4321 27 genpkg_rules()
pankso@4321 28 {
pankso@4321 29 mkdir -p $fs/usr/lib
pankso@4321 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4321 31 }