wok annotate xorg-xf86-video-intel/receipt @ rev 20533
Up parallel (20181022)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 21 17:11:16 2018 +0100 (2018-11-21) |
parents | 03b2309fd335 |
children | 2b82fb694a56 |
rev | line source |
---|---|
pankso@1039 | 1 # SliTaz package receipt. |
pankso@1039 | 2 |
pankso@1039 | 3 PACKAGE="xorg-xf86-video-intel" |
pascal@14725 | 4 VERSION="2.21.9" |
pankso@1039 | 5 CATEGORY="x-window" |
pankso@3016 | 6 SHORT_DESC="Xorg server Intel driver." |
pankso@1039 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@1039 | 9 SOURCE="xf86-video-intel" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pankso@1039 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 13 TAGS="xorg display" |
pankso@1039 | 14 |
pankso@12530 | 15 DEPENDS="xorg-server xorg-libXvMC mesa-dri-intel xcb-util libdrm libdrm-intel" |
pascal@16628 | 16 BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev xcb-util-dev libdrm-dev \ |
pascal@16628 | 17 libpthread-stubs-dev" |
pankso@12530 | 18 |
pankso@12530 | 19 MODS='/usr/lib/X11/modules' |
pankso@12530 | 20 |
pankso@1039 | 21 # Rules to configure and make the package. |
pankso@1039 | 22 compile_rules() |
pankso@1039 | 23 { |
pankso@12530 | 24 cd $src |
pankso@12530 | 25 ./configure \ |
pankso@12530 | 26 --sysconfdir=/etc \ |
pankso@12530 | 27 --mandir=/usr/share/man \ |
pankso@12530 | 28 --localstatedir=/var \ |
pankso@12530 | 29 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 30 --enable-dri \ |
pankso@12530 | 31 --enable-xvmc \ |
pankso@12530 | 32 $CONFIGURE_ARGS && |
pankso@12530 | 33 make && make install |
pankso@1039 | 34 } |
pankso@1039 | 35 |
pankso@1039 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1039 | 37 genpkg_rules() |
pankso@1039 | 38 { |
pankso@12530 | 39 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 40 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
pankso@12530 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@1039 | 42 } |
pankso@1039 | 43 |
psychomaniak@19154 | 44 |