wok-next view libglw-mesa/receipt @ rev 20472

Add new LFS packages meson, ninja; py3k -> python3; gcc49, gcc54, gcc61: fix $ARCH_ARGS, --disable-multilib; misc. unsuccessful patches...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 13:48:53 2018 +0200 (2018-03-10)
parents 8304b49a2f4f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libglw-mesa"
4 VERSION="8.0.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL widget library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.mesa3d.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="git|git://anongit.freedesktop.org/mesa/glw.git"
14 DEPENDS="glibc-base util-linux-uuid zlib freetype lesstif mesa \
15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXt"
16 SPLIT="libglw-mesa-dev"
18 compile_rules() {
19 ./autogen.sh
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make $MAKEFLAGS && make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libglw-mesa)
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/libGLw*so* $fs/usr/lib
31 BUILD_DEPENDS="mesa-dev automake autoconf libtool \
32 util-linux-uuid-dev expat-dev xorg-dev intltool gettext \
33 xorg-libxshmfence-dev"
34 PROVIDE="libglw"
35 ;;
36 *-dev)
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/libGLw*a $fs/usr/lib
39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
40 cp -a $install/usr/include $fs/usr
41 ;;
42 esac
43 }