wok-next view libdrm/receipt @ rev 16414
Up: slitaz-tools, slitaz-tools-boxes (5.7.3)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 17 13:44:31 2014 +0300 (2014-04-17) |
parents | e585bcc8453e |
children | 03b2309fd335 |
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base udev linux-drm xorg-libpciaccess"
15 BUILD_DEPENDS="libpthread-stubs-dev gc-dev pkg-config udev-dev \
16 xorg-libpciaccess-dev"
17 #xorg-dev xorg-dev-proto
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --enable-intel \
24 --enable-radeon \
25 --enable-vmwgfx-experimental-api \
26 --enable-nouveau-experimental-api \
27 --enable-udev \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
37 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
38 }