wok view gtkglext/receipt @ rev 25778

Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 09:06:10 2024 +0000 (2 months ago)
parents 932cd974e081
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkglext"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://web.archive.org/web/20190521002311/https://projects-old.gnome.org/gtkglext/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 SUGGESTED="nvidia"
14 DEPENDS="gtk+ mesa libglu-mesa pangox-compat"
15 BUILD_DEPENDS="gtk+-dev libglu-mesa libglu-mesa-dev mesa-dev \
16 util-linux-uuid-dev autoconf pangox-compat-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/gtkglext/files/gtkglext/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/gtkglext/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 patch -Np1 -i $stuff/gtk2.20.patch
30 autoconf --force
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }