wok annotate xorg-xf86-video-geode/receipt @ rev 24626

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 17:32:18 2022 +0000 (2022-03-07)
parents f34197ca6033
children
rev   line source
pankso@3017 1 # SliTaz package receipt.
pankso@3017 2
pankso@3017 3 PACKAGE="xorg-xf86-video-geode"
Hans-G?nter@22271 4 VERSION="2.11.20"
pankso@3017 5 CATEGORY="x-window"
Hans-G?nter@22271 6 TAGS="xorg display"
erjo@4865 7 SHORT_DESC="Xorg AMD Geode video driver."
pankso@3017 8 MAINTAINER="pankso@slitaz.org"
pascal@15579 9 LICENSE="MIT"
Hans-G?nter@22271 10 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22271 11
pankso@3017 12 SOURCE="xf86-video-geode"
gokhlayeh@6993 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@3017 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@3017 15
pankso@12530 16 DEPENDS="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@3017 27 # Rules to configure and make the package.
pankso@3017 28 compile_rules()
pankso@3017 29 {
Hans-G?nter@22271 30 ./configure \
Hans-G?nter@22271 31 --sysconfdir=/etc \
Hans-G?nter@22271 32 --mandir=/usr/share/man \
Hans-G?nter@22271 33 --localstatedir=/var \
Hans-G?nter@22271 34 --with-xorg-module-dir=$MODS \
pankso@12530 35 $CONFIGURE_ARGS &&
Hans-G?nter@22271 36 make &&
Hans-G?nter@22271 37 make install
pankso@3017 38 }
pankso@3017 39
pankso@3017 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3017 41 genpkg_rules()
pankso@3017 42 {
pankso@12530 43 mkdir -p ${fs}${MODS}/drivers
pankso@12530 44 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
pankso@3017 45 }