wok annotate xorg-xf86-video-nv/receipt @ rev 24338

updated avfs (1.1.1 -> 1.1.4)
author Hans-G?nter Theisgen
date Sat Jan 29 17:06:12 2022 +0100 (2022-01-29)
parents af98c2d73a29
children
rev   line source
pankso@447 1 # SliTaz package receipt.
pankso@447 2
pankso@447 3 PACKAGE="xorg-xf86-video-nv"
Hans-G?nter@22276 4 VERSION="2.1.21"
pankso@447 5 CATEGORY="x-window"
Hans-G?nter@22276 6 TAGS="xorg display"
erjo@4865 7 SHORT_DESC="Xorg NVIDIA video driver."
pankso@447 8 MAINTAINER="pankso@slitaz.org"
pascal@15579 9 LICENSE="MIT"
Hans-G?nter@22276 10 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22276 11
pankso@447 12 SOURCE="xf86-video-nv"
gokhlayeh@6993 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@447 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@447 15
Hans-G?nter@22276 16 DEPENDS="linux-agp xorg-server"
pankso@12530 17 BUILD_DEPENDS="xorg-server-dev"
pankso@12530 18
pankso@12530 19 MODS='/usr/lib/X11/modules'
pankso@12530 20
pascal@24072 21 current_version()
pascal@24072 22 {
pascal@24072 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 25 }
pascal@24072 26
pankso@447 27 # Rules to configure and make the package.
pankso@447 28 compile_rules()
pankso@447 29 {
Hans-G?nter@22276 30 ./configure \
Hans-G?nter@22276 31 --sysconfdir=/etc \
Hans-G?nter@22276 32 --mandir=/usr/share/man \
Hans-G?nter@22276 33 --localstatedir=/var \
Hans-G?nter@22276 34 --with-xorg-module-dir=$MODS \
pankso@12530 35 $CONFIGURE_ARGS &&
Hans-G?nter@22276 36 make &&
Hans-G?nter@22276 37 make install
pankso@447 38 }
pankso@447 39
pankso@447 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@447 41 genpkg_rules()
pankso@447 42 {
pankso@12530 43 mkdir -p ${fs}${MODS}/drivers
pankso@12530 44 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
pankso@447 45 }