wok-6.x annotate xorg-xf86-video-openchrome/receipt @ rev 24956
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:35:24 2022 +0100 (2022-04-23) |
parents | 814c58f64f83 |
children |
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 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
psychomaniak@20129 | 26 # Rules to configure and make the package. |
psychomaniak@20129 | 27 compile_rules() |
psychomaniak@20129 | 28 { |
psychomaniak@20129 | 29 cd $src |
psychomaniak@20129 | 30 ./configure \ |
psychomaniak@20129 | 31 --sysconfdir=/etc \ |
psychomaniak@20129 | 32 --mandir=/usr/share/man \ |
psychomaniak@20129 | 33 --localstatedir=/var \ |
psychomaniak@20129 | 34 --with-xorg-module-dir=$MODS \ |
psychomaniak@20129 | 35 $CONFIGURE_ARGS && |
psychomaniak@20129 | 36 make && make install |
psychomaniak@20129 | 37 } |
psychomaniak@20129 | 38 |
psychomaniak@20129 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20129 | 40 genpkg_rules() |
psychomaniak@20129 | 41 { |
psychomaniak@20129 | 42 mkdir -p ${fs}${MODS}/drivers |
psychomaniak@20129 | 43 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
psychomaniak@20129 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@20129 | 45 } |
psychomaniak@20129 | 46 |