wok-6.x view libdrm/receipt @ rev 14229

nspr-dev: tiny edit
author Dominique Corbex <domcox@slitaz.org>
date Fri Mar 22 07:32:45 2013 +0100 (2013-03-22)
parents 23513697e140
children 65c88ca46854
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.40"
5 CATEGORY="x-window"
6 SHORT_DESC="Freedesktop DRM Library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://dri.freedesktop.org/"
10 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"
12 DEPENDS="glibc-base udev linux-drm xorg-libpciaccess"
13 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc-dev pkg-config \
14 udev-dev xorg-libpciaccess-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-intel \
22 --enable-radeon \
23 --enable-vmwgfx-experimental-api \
24 --enable-nouveau-experimental-api \
25 --enable-udev \
26 $CONFIGURE_ARGS &&
27 make && make 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 $install/usr/lib/libdrm.so* $fs/usr/lib
35 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
36 }