wok view libdrm/receipt @ rev 24751
cairo-gl: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:24:41 2022 +0100 (2022-03-16) |
parents | 13e5cfabe816 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.100"
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
19 HOST_ARCH="i486 arm"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --enable-intel \
32 --enable-nouveau-experimental-api \
33 --enable-radeon \
34 --enable-udev \
35 --enable-vmwgfx-experimental-api \
36 $CONFIGURE_ARGS &&
37 make -j 1 &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
47 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
48 }