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