wok-6.x annotate xorg-xf86-video-vmware/receipt @ rev 24985
Add python-future
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 10 07:46:58 2022 +0000 (2022-05-10) |
parents | 4ef8c4b28070 |
children |
rev | line source |
---|---|
slaxemulator@7333 | 1 # SliTaz package receipt. |
slaxemulator@7333 | 2 |
slaxemulator@7333 | 3 PACKAGE="xorg-xf86-video-vmware" |
Hans-G?nter@22284 | 4 VERSION="13.3.0" |
slaxemulator@7333 | 5 CATEGORY="x-window" |
Hans-G?nter@22284 | 6 SHORT_DESC="X.org vmware video driver." |
slaxemulator@7333 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22284 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22284 | 10 |
slaxemulator@7333 | 11 SOURCE="xf86-video-vmware" |
slaxemulator@7333 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@7333 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
slaxemulator@7333 | 14 |
Hans-G?nter@22284 | 15 DEPENDS="libdrm xorg-server" |
Hans-G?nter@22284 | 16 BUILD_DEPENDS="libdrm-dev xorg-server-dev" |
pankso@12530 | 17 |
pankso@12530 | 18 MODS='/usr/lib/X11/modules' |
pankso@12530 | 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 |
slaxemulator@7333 | 26 # Rules to configure and make the package. |
slaxemulator@7333 | 27 compile_rules() |
slaxemulator@7333 | 28 { |
Hans-G?nter@22284 | 29 ./configure \ |
Hans-G?nter@22284 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22284 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@22284 | 32 --localstatedir=/var \ |
Hans-G?nter@22284 | 33 --with-xorg-module-dir=$MODS \ |
slaxemulator@7333 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@22284 | 35 make && |
Hans-G?nter@22284 | 36 make install |
slaxemulator@7333 | 37 } |
slaxemulator@7333 | 38 |
slaxemulator@7333 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7333 | 40 genpkg_rules() |
slaxemulator@7333 | 41 { |
pankso@12530 | 42 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 43 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
slaxemulator@7333 | 44 } |