wok-6.x annotate xorg-xf86-video-intel/receipt @ rev 25179
Up tazlito (537)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 04 13:25:23 2022 +0000 (2022-07-04) |
parents | 2b82fb694a56 |
children |
rev | line source |
---|---|
pankso@1039 | 1 # SliTaz package receipt. |
pankso@1039 | 2 |
pankso@1039 | 3 PACKAGE="xorg-xf86-video-intel" |
Hans-G?nter@22273 | 4 VERSION="2.99.917" |
pankso@1039 | 5 CATEGORY="x-window" |
Hans-G?nter@22273 | 6 TAGS="xorg display" |
pankso@3016 | 7 SHORT_DESC="Xorg server Intel driver." |
pankso@1039 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22273 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22273 | 11 |
pankso@1039 | 12 SOURCE="xf86-video-intel" |
gokhlayeh@6993 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@1039 | 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@1039 | 15 |
Hans-G?nter@22273 | 16 DEPENDS="libdrm libdrm-intel mesa-dri-intel xcb-util xorg-libXvMC xorg-server" |
Hans-G?nter@22273 | 17 BUILD_DEPENDS="libdrm-dev libpthread-stubs-dev xcb-util-dev |
Hans-G?nter@22273 | 18 xorg-libXvMC-dev xorg-server-dev" |
pankso@12530 | 19 |
pankso@12530 | 20 MODS='/usr/lib/X11/modules' |
pankso@12530 | 21 |
pascal@24072 | 22 current_version() |
pascal@24072 | 23 { |
pascal@24072 | 24 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 25 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 26 } |
pascal@24072 | 27 |
pankso@1039 | 28 # Rules to configure and make the package. |
pankso@1039 | 29 compile_rules() |
pankso@1039 | 30 { |
Hans-G?nter@22273 | 31 ./configure \ |
Hans-G?nter@22273 | 32 --sysconfdir=/etc \ |
Hans-G?nter@22273 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@22273 | 34 --localstatedir=/var \ |
Hans-G?nter@22273 | 35 --with-xorg-module-dir=$MODS \ |
Hans-G?nter@22273 | 36 --enable-dri \ |
Hans-G?nter@22273 | 37 --enable-xvmc \ |
pankso@12530 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@22273 | 39 make && |
Hans-G?nter@22273 | 40 make install |
pankso@1039 | 41 } |
pankso@1039 | 42 |
pankso@1039 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1039 | 44 genpkg_rules() |
pankso@1039 | 45 { |
pankso@12530 | 46 mkdir -p ${fs}${MODS}/drivers |
Hans-G?nter@22273 | 47 |
Hans-G?nter@22273 | 48 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
Hans-G?nter@22273 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@1039 | 50 } |