wok-current view gtkglext/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | b8ade74f0d9c |
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|.*href="|"https://sourceforge.net|;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 }