wok-current view libdrm/receipt @ rev 9953
fuse-emulator: fix build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 14:38:49 2011 +0200 (2011-05-18) |
parents | 97821927bc3c |
children | d005d51309af |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.23"
5 CATEGORY="x-window"
6 SHORT_DESC="Freedesktop DRM Library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base udev linux-drm"
9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc gc-dev pkg-config udev-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://dri.freedesktop.org/"
12 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --enable-intel \
21 --enable-radeon \
22 --enable-vmwgfx-experimental-api \
23 --enable-nouveau-experimental-api \
24 --enable-udev \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/libdrm.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/libkms*.so* $fs/usr/lib
36 }