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

Update some bdeps with pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 10:45:02 2013 +0000 (2013-12-05)
parents 65c88ca46854
children e585bcc8453e
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://dri.freedesktop.org/"
11 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"
13 DEPENDS="glibc-base udev linux-drm xorg-libpciaccess"
14 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc-dev pkg-config \
15 udev-dev xorg-libpciaccess-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-intel \
23 --enable-radeon \
24 --enable-vmwgfx-experimental-api \
25 --enable-nouveau-experimental-api \
26 --enable-udev \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
36 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
37 }