wok-6.x view libdrm/receipt @ rev 14748
busybox: add musl & dietlibc patchs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 16 15:26:17 2013 +0200 (2013-06-16) |
parents | 2aea23badb24 |
children | 6c3718ca17b6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.45"
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 }