wok annotate xorg-xf86-video-openchrome/receipt @ rev 23679
fusecloop: add v4 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 10:50:29 2020 +0000 (2020-04-26) |
parents | fc33aae5387c |
children | 5d79829fa876 |
rev | line source |
---|---|
psychomaniak@20129 | 1 # SliTaz package receipt. |
psychomaniak@20129 | 2 |
psychomaniak@20129 | 3 PACKAGE="xorg-xf86-video-openchrome" |
psychomaniak@20129 | 4 VERSION="0.6.0" |
psychomaniak@20129 | 5 CATEGORY="x-window" |
psychomaniak@20129 | 6 SHORT_DESC="Xorg server openchrome driver." |
psychomaniak@20129 | 7 MAINTAINER="claudinei@slitaz.org" |
psychomaniak@20129 | 8 LICENSE="MIT" |
psychomaniak@20129 | 9 SOURCE="xf86-video-openchrome" |
psychomaniak@20129 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
psychomaniak@20129 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
psychomaniak@20129 | 13 TAGS="xorg display" |
psychomaniak@20129 | 14 |
psychomaniak@20129 | 15 DEPENDS="xorg-server xorg-libXvMC mesa-dri-unichrome libdrm" |
psychomaniak@20129 | 16 BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev libdrm-dev" |
psychomaniak@20129 | 17 |
psychomaniak@20129 | 18 MODS='/usr/lib/X11/modules' |
psychomaniak@20129 | 19 |
psychomaniak@20129 | 20 # Rules to configure and make the package. |
psychomaniak@20129 | 21 compile_rules() |
psychomaniak@20129 | 22 { |
psychomaniak@20129 | 23 cd $src |
psychomaniak@20129 | 24 ./configure \ |
psychomaniak@20129 | 25 --sysconfdir=/etc \ |
psychomaniak@20129 | 26 --mandir=/usr/share/man \ |
psychomaniak@20129 | 27 --localstatedir=/var \ |
psychomaniak@20129 | 28 --with-xorg-module-dir=$MODS \ |
psychomaniak@20129 | 29 $CONFIGURE_ARGS && |
psychomaniak@20129 | 30 make && make install |
psychomaniak@20129 | 31 } |
psychomaniak@20129 | 32 |
psychomaniak@20129 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20129 | 34 genpkg_rules() |
psychomaniak@20129 | 35 { |
psychomaniak@20129 | 36 mkdir -p ${fs}${MODS}/drivers |
psychomaniak@20129 | 37 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
psychomaniak@20129 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@20129 | 39 } |
psychomaniak@20129 | 40 |