wok view mesa7/receipt @ rev 21763

busybox: enable CONFIG_FDISK_SUPPORT_LARGE_DISKS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 27 14:19:03 2019 +0200 (2019-06-27)
parents fc33aae5387c
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa7"
4 VERSION="7.10.2"
5 CATEGORY="x-window"
6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Mesa"
9 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
10 WEB_SITE="https://www.mesa3d.org/"
11 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/7.x/${VERSION}/$TARBALL"
12 PROVIDE="mesa"
14 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev" #libpthread-stubs
16 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
17 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
18 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
19 xorg-server-dev udev-dev file libtool automake autoconf"
20 # libpthread-stubs-dev llvm xorg-dri3proto xorg-presentproto
21 # --with-gallium-drivers= \
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf -vfi
27 ./configure \
28 --prefix=/usr \
29 --with-x \
30 --with-dri-driverdir=/usr/lib/dri \
31 --with-dri-drivers=unichrome,i810,mach64,mga,r128,savage,sis,tdfx \
32 --disable-gallium-llvm \
33 --enable-glx-tls \
34 --with-driver=dri \
35 --enable-xcb \
36 --disable-glut \
37 --enable-gles1 \
38 --enable-gles2 \
39 --enable-egl \
40 --enable-texture-float \
41 --disable-shared-dricore \
42 $CONFIGURE_ARGS &&
43 (make $MAKEFLAGS && make install) 2>/dev/null | sed '/No such file or directory/d'
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib//libGLE*.so* $fs/usr/lib
52 # libGLU is included in the package libglu-mesa
53 rm -r -f $fs/usr/lib/libGLU*
55 #libGLw is included in the package libglw-mesa
56 rm -r -f $fs/usr/lib/libGLw*
58 #libEGL is included in the package libegl-mesa
59 rm -r -f $fs/usr/lib/libEGL*
60 }