wok-next view libdrm/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 03b2309fd335 |
children | f463de72afe3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.70"
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://dri.freedesktop.org/libdrm/$TARBALL"
15 DEPENDS="glibc-base eudev linux-drm xorg-libpciaccess"
16 BUILD_DEPENDS="autoconf automake libtool xorg-util-macros libxslt \
17 xorg-libpciaccess-dev cairo-dev eudev-dev libxslt docbook-xsl"
18 SPLIT="libdrm-amdgpu libdrm-exynos libdrm-intel libdrm-nouveau libdrm-omap \
19 libdrm-radeon libdrm-tegra"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i "/pthread-stubs/d" configure.ac &&
25 autoreconf -fiv &&
27 ./configure \
28 --enable-udev \
29 --enable-vmwgfx \
30 --enable-omap-experimental-api \
31 --enable-exynos-experimental-api \
32 --enable-tegra-experimental-api \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files libdrm.so* libkms.so*
41 }