wok-current view xorg-xf86-video-intel/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (22 months ago)
parents 2b82fb694a56
children 3ad63c8fc2f9
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-intel"
4 VERSION="2.99.917"
5 CATEGORY="x-window"
6 TAGS="xorg display"
7 SHORT_DESC="Xorg server Intel driver."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xf86-video-intel"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
16 DEPENDS="libdrm libdrm-intel mesa-dri-intel xcb-util xorg-libXvMC xorg-server"
17 BUILD_DEPENDS="libdrm-dev libpthread-stubs-dev xcb-util-dev
18 xorg-libXvMC-dev xorg-server-dev"
20 MODS='/usr/lib/X11/modules'
22 current_version()
23 {
24 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
25 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 --localstatedir=/var \
35 --with-xorg-module-dir=$MODS \
36 --enable-dri \
37 --enable-xvmc \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p ${fs}${MODS}/drivers
48 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 }