wok-current annotate libglw-mesa/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | a78610b2eb47 |
children | a23978bfa665 |
rev | line source |
---|---|
rcx@3695 | 1 # SliTaz package receipt. |
rcx@3695 | 2 |
rcx@3695 | 3 PACKAGE="libglw-mesa" |
pascal@13790 | 4 VERSION="8.0.0" |
pascal@13790 | 5 CATEGORY="x-window" |
rcx@3695 | 6 SHORT_DESC="OpenGL widget library" |
rcx@3695 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15473 | 8 LICENSE="MIT" |
pascal@13790 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 10 WEB_SITE="https://www.mesa3d.org/" |
pascal@13790 | 11 WGET_URL="git|git://anongit.freedesktop.org/mesa/glw.git" |
pascal@13790 | 12 PROVIDE="libglw" |
pascal@13790 | 13 |
pankso@12481 | 14 DEPENDS="glibc-base util-linux-uuid zlib freetype lesstif mesa \ |
pascal@5003 | 15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXt \ |
gokhlayeh@8135 | 16 lesstif" |
pascal@20583 | 17 BUILD_DEPENDS="mesa-dev automake autoconf libtool util-linux-uuid-dev file" |
pascal@13790 | 18 |
pascal@24744 | 19 # What is the latest version available today? |
pascal@24744 | 20 current_version() |
pascal@24744 | 21 { |
pascal@24744 | 22 wget -O - https://cgit.freedesktop.org/mesa/glw/ 2>/dev/null | \ |
pascal@24744 | 23 sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q' |
pascal@24744 | 24 } |
pascal@24744 | 25 |
pascal@13790 | 26 # Rules to configure and make the package. |
pascal@13790 | 27 compile_rules() |
pascal@13790 | 28 { |
pascal@13790 | 29 ./autogen.sh |
pascal@13790 | 30 ./configure \ |
pascal@13790 | 31 --prefix=/usr \ |
pascal@13790 | 32 $CONFIGURE_ARGS && |
pascal@13790 | 33 make $MAKEFLAGS && make install |
pascal@13790 | 34 } |
rcx@3695 | 35 |
rcx@3695 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3695 | 37 genpkg_rules() |
rcx@3695 | 38 { |
rcx@3695 | 39 mkdir -p $fs/usr/lib |
pascal@13790 | 40 cp -a $install/usr/lib/libGLw*so* $fs/usr/lib |
rcx@3695 | 41 } |