wok-next annotate xorg-xf86-video-nv/receipt @ rev 19981
Add libvdpau
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 09:58:12 2017 +0300 (2017-10-18) |
parents | eb8067417980 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@447 | 2 |
pankso@447 | 3 PACKAGE="xorg-xf86-video-nv" |
al@19805 | 4 VERSION="2.1.21" |
pankso@447 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="Xorg driver for NVIDIA video cards" |
pankso@447 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@19805 | 10 |
al@19805 | 11 TARBALL="xf86-video-nv-$VERSION.tar.bz2" |
pankso@447 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@447 | 13 |
pankso@12530 | 14 BUILD_DEPENDS="xorg-server-dev" |
al@19805 | 15 SPLIT="xorg-xf86-video-nv-dev" |
al@19805 | 16 PKG_RULE="std-dev" |
pankso@12530 | 17 |
pankso@447 | 18 # Rules to configure and make the package. |
pankso@447 | 19 compile_rules() |
pankso@447 | 20 { |
pankso@12530 | 21 ./configure \ |
pankso@12530 | 22 --sysconfdir=/etc \ |
pankso@12530 | 23 --localstatedir=/var \ |
pankso@12530 | 24 $CONFIGURE_ARGS && |
al@19805 | 25 make && |
al@19805 | 26 make install |
pankso@447 | 27 } |
pankso@447 | 28 |
pankso@447 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@447 | 30 genpkg_rules() |
pankso@447 | 31 { |
al@19805 | 32 case $PACKAGE in |
al@19805 | 33 *-nv) |
al@19805 | 34 copy @std |
al@19805 | 35 DEPENDS="xorg-server" |
al@19805 | 36 TAGS="xorg display" |
al@19805 | 37 ;; |
al@19805 | 38 *-dev) |
al@19805 | 39 copy @dev |
al@19805 | 40 DEPENDS="xorg-xf86-video-nv xorg-server-dev" |
al@19805 | 41 ;; |
al@19805 | 42 esac |
pankso@447 | 43 } |