wok-current view libdrm/receipt @ rev 13232

Move from undigest: i3-man
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:39:02 2012 +0200 (2012-08-14)
parents 85016499ad8c
children 2aea23badb24
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.34"
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 }