wok-next annotate gtkglext/receipt @ rev 13796
mesa-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 14:44:51 2013 +0100 (2013-01-05) |
parents | 73641efed1cc |
children | 380ffe05937a |
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" |
slaxemulator@7694 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4321 | 9 WEB_SITE="http://gtkglext.sourceforge.net/" |
pankso@4321 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13796 | 11 SUGGESTED="nvidia" |
pascal@13796 | 12 |
pascal@13796 | 13 DEPENDS="gtk+ mesa libglu-mesa" |
pascal@13796 | 14 BUILD_DEPENDS="gtk+-dev libglu-mesa libglu-mesa-dev mesa-dev \ |
pascal@13796 | 15 util-linux-uuid-dev autoconf" |
pankso@4321 | 16 |
pankso@4321 | 17 # Rules to configure and make the package. |
pankso@4321 | 18 compile_rules() |
pankso@4321 | 19 { |
pankso@4321 | 20 cd $src |
slaxemulator@9700 | 21 patch -Np1 -i $stuff/gtk2.20.patch |
slaxemulator@7425 | 22 autoconf --force |
pankso@4321 | 23 ./configure \ |
pankso@4321 | 24 --prefix=/usr \ |
pankso@4321 | 25 $CONFIGURE_ARGS && |
pankso@4321 | 26 make && |
pascal@13796 | 27 make DESTDIR=$DESTDIR install |
pankso@4321 | 28 } |
pankso@4321 | 29 |
pankso@4321 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4321 | 31 genpkg_rules() |
pankso@4321 | 32 { |
pankso@4321 | 33 mkdir -p $fs/usr/lib |
pascal@13796 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4321 | 35 } |