wok view libdrm/receipt @ rev 22102

Add python-attr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 01 15:22:59 2019 +0100 (2019-11-01)
parents a78610b2eb47
children 13e5cfabe816
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.97"
5 CATEGORY="x-window"
6 SHORT_DESC="Freedesktop DRM Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://dri.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base linux-drm udev xorg-libpciaccess"
15 BUILD_DEPENDS="gc-dev libpthread-stubs-dev pkg-config \
16 udev-dev xorg-libpciaccess-dev"
17 #xorg-dev xorg-dev-proto
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --enable-intel \
25 --enable-radeon \
26 --enable-vmwgfx-experimental-api \
27 --enable-nouveau-experimental-api \
28 --enable-udev \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
40 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
41 }