wok annotate gtkglext/receipt @ rev 24592

.bin files don't have .note.gnu.property section
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 10:06:20 2022 +0000 (2022-03-01)
parents b8ade74f0d9c
children 6b33f9da53d4
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"
pascal@22818 10 WEB_SITE="https://web.archive.org/web/20190521002311/https://projects-old.gnome.org/gtkglext/"
pankso@4321 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13796 12 SUGGESTED="nvidia"
pascal@13796 13
al@16906 14 DEPENDS="gtk+ mesa libglu-mesa pangox-compat"
pascal@13796 15 BUILD_DEPENDS="gtk+-dev libglu-mesa libglu-mesa-dev mesa-dev \
al@16906 16 util-linux-uuid-dev autoconf pangox-compat-dev"
pankso@4321 17
pascal@24403 18 # What is the latest version available today?
pascal@24403 19 current_version()
pascal@24403 20 {
pascal@24403 21 wget -O - https://sourceforge.net/projects/gtkglext/files/gtkglext/ 2>/dev/null | \
pascal@24403 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 23 sed '/scope="row/!d;s|.*/gtkglext/||;s|/.*||;q'
pascal@24403 24 }
pascal@24403 25
pankso@4321 26 # Rules to configure and make the package.
pankso@4321 27 compile_rules()
pankso@4321 28 {
slaxemulator@9700 29 patch -Np1 -i $stuff/gtk2.20.patch
slaxemulator@7425 30 autoconf --force
pankso@4321 31 ./configure \
pankso@4321 32 --prefix=/usr \
pankso@4321 33 $CONFIGURE_ARGS &&
pankso@4321 34 make &&
pascal@13796 35 make DESTDIR=$DESTDIR install
pankso@4321 36 }
pankso@4321 37
pankso@4321 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4321 39 genpkg_rules()
pankso@4321 40 {
pankso@4321 41 mkdir -p $fs/usr/lib
pascal@13796 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@4321 43 }