wok-next view libdrm/receipt @ rev 20079

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents ea3c4b76ea5d
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdrm"
4 VERSION="2.4.82"
5 CATEGORY="x-window"
6 SHORT_DESC="Freedesktop DRM Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://dri.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/libdrm.html"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="https://dri.freedesktop.org/libdrm/$TARBALL"
16 BUILD_DEPENDS="autoconf automake libtool xorg-util-macros libxslt \
17 xorg-libpciaccess-dev cairo-dev eudev-dev libxslt docbook-xsl valgrind-dev"
18 SPLIT="libdrm-amdgpu libdrm-etnaviv libdrm-exynos libdrm-intel libdrm-nouveau \
19 libdrm-omap libdrm-radeon libdrm-tegra libdrm-dev"
21 compile_rules() {
22 # sed -i "/pthread-stubs/d" configure.ac &&
23 autoreconf -fiv &&
25 ./configure \
26 --enable-udev \
27 --enable-vmwgfx \
28 --enable-omap-experimental-api \
29 --enable-exynos-experimental-api \
30 --enable-tegra-experimental-api \
31 --enable-etnaviv-experimental-api \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 libdrm)
39 copy libdrm.so* libkms.so*
40 DEPENDS="eudev linux-drm xorg-libpciaccess"
41 ;;
42 *-amdgpu)
43 copy libdrm_amdgpu.so*
44 CAT="x-window|AMDGPU API"
45 ;;
46 *-etnaviv)
47 copy libdrm_etnaviv.so*
48 CAT="x-window|Etnaviv API"
49 ;;
50 *-exynos)
51 copy libdrm_exynos.so*
52 CAT="x-window|EXYNOS API"
53 ;;
54 *-intel)
55 copy libdrm_intel.so*
56 CAT="x-window|Intel API"
57 DEPENDS="libdrm xorg-libpciaccess"
58 ;;
59 *-nouveau)
60 copy libdrm_nouveau.so*
61 CAT="x-window|Nouveau API"
62 ;;
63 *-omap)
64 copy libdrm_omap.so*
65 CAT="x-window|OMAP API"
66 ;;
67 *-radeon)
68 copy libdrm_radeon.so*
69 CAT="x-window|Radeon API"
70 ;;
71 *-tegra)
72 copy libdrm_tegra.so*
73 CAT="x-window|Tegra API"
74 ;;
75 *-dev)
76 copy @dev
77 ;;
78 esac
79 }