wok-current view libdrm/receipt @ rev 25674
Add miss e1000e driver for linux64
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Mar 04 17:18:27 2024 +0000 (6 months ago) |
parents | 5d79829fa876 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.109"
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.xz"
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 meson"
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 {
31 mkdir mbuild && cd mbuild
32 meson setup \
33 --prefix=/usr \
34 --libdir=lib \
35 --bindir=/usr/bin \
36 --sbindir=/usr/sbin \
37 --buildtype=release \
38 -Dudev=true \
39 ..
41 ninja build
42 DESTDIR=$install ninja install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
51 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
52 }