wok-current annotate libglu-mesa/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents a78610b2eb47
children a23978bfa665
rev   line source
b1+slitaz@1837 1 # SliTaz package receipt.
b1+slitaz@1837 2
b1+slitaz@1837 3 PACKAGE="libglu-mesa"
pascal@13789 4 VERSION="9.0.0"
pascal@13789 5 CATEGORY="x-window"
pascal@13789 6 SHORT_DESC="OpenGL utility library."
b1+slitaz@1837 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15473 8 LICENSE="MIT"
pascal@13789 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://www.mesa3d.org/"
pascal@13789 11 WGET_URL="git|git://anongit.freedesktop.org/mesa/glu.git"
pascal@13789 12 PROVIDE="libglu"
pascal@13789 13
slaxemulator@6971 14 DEPENDS="glibc-base gcc-lib-base mesa"
pascal@20583 15 BUILD_DEPENDS="mesa-dev automake autoconf libtool file"
pascal@13789 16
pascal@24744 17 # What is the latest version available today?
pascal@24744 18 current_version()
pascal@24744 19 {
pascal@24744 20 wget -O - https://cgit.freedesktop.org/mesa/glu/ 2>/dev/null | \
pascal@24744 21 sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
pascal@24744 22 }
pascal@24744 23
pascal@13789 24 # Rules to configure and make the package.
pascal@13789 25 compile_rules()
pascal@13789 26 {
pascal@13789 27 ./autogen.sh
pascal@13789 28 ./configure \
pascal@13789 29 --prefix=/usr \
pascal@13789 30 $CONFIGURE_ARGS &&
pascal@13789 31 make $MAKEFLAGS && make install
pascal@13789 32 }
b1+slitaz@1837 33
b1+slitaz@1837 34 # Rules to gen a SliTaz package suitable for Tazpkg.
b1+slitaz@1837 35 genpkg_rules()
b1+slitaz@1837 36 {
b1+slitaz@1837 37 mkdir -p $fs/usr/lib
pascal@13789 38 cp -a $install/usr/lib/libGLU*so* $fs/usr/lib
b1+slitaz@1837 39 }