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

Up: libdrm (2.4.33) + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 10:04:32 2012 +0200 (2012-04-25)
parents d005d51309af
children b7d35eb26646
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.33"
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 }