wok view mesa/receipt @ rev 19182
Add: ccd2iso - CloneCD image to ISO.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Sat Jun 04 06:28:49 2016 -0300 (2016-06-04) |
parents | 03b2309fd335 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="9.1.3"
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 LICENSE="MIT"
9 SUGGESTED="nvidia"
10 SOURCE="Mesa"
11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
12 WEB_SITE="http://www.mesa3d.org/"
13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
14 PROVIDE="libgl"
16 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
17 libpthread-stubs"
18 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
19 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
20 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
21 xorg-server-dev udev-dev file libdrm-nouveau llvm libpthread-stubs-dev \
22 libtool automake autoconf"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 find . -name 'nouveau*.h' | \
28 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
29 ./autogen.sh \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 # libGLU is included in the package libglu-mesa
42 rm -r -f $fs/usr/lib/libGLU*
44 #libGLw is included in the package libglw-mesa
45 rm -r -f $fs/usr/lib/libGLw*
47 #libEGL is included in the package libegl-mesa
48 rm -r -f $fs/usr/lib/libEGL*
49 }