wok annotate xorg-xf86-video-mga/receipt @ rev 25386

updated unrar (5.9.2 -> 6.1.7)
author Hans-G?nter Theisgen
date Sat Jul 30 17:51:49 2022 +0100 (2022-07-30)
parents 6b461ec27aea
children
rev   line source
psychomaniak@20129 1 # SliTaz package receipt.
psychomaniak@20129 2
psychomaniak@20129 3 PACKAGE="xorg-xf86-video-mga"
Hans-G?nter@22274 4 VERSION="2.0.0"
psychomaniak@20129 5 CATEGORY="x-window"
Hans-G?nter@22274 6 TAGS="xorg display"
psychomaniak@20129 7 SHORT_DESC="Xorg driver for Matrox cards."
psychomaniak@20129 8 MAINTAINER="keupont@no-log.org"
psychomaniak@20129 9 LICENSE="MIT"
Hans-G?nter@22274 10 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22274 11
psychomaniak@20129 12 SOURCE="xf86-video-mga"
psychomaniak@20129 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
psychomaniak@20129 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
psychomaniak@20129 15
Hans-G?nter@22274 16 DEPENDS="mesa-dri-mga xorg-server"
psychomaniak@20129 17 BUILD_DEPENDS="xorg-server-dev"
psychomaniak@20129 18
psychomaniak@20129 19 MODS='/usr/lib/X11/modules'
psychomaniak@20129 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
psychomaniak@20129 27 # Rules to configure and make the package.
psychomaniak@20129 28 compile_rules()
psychomaniak@20129 29 {
Hans-G?nter@22274 30 ./configure \
Hans-G?nter@22274 31 --sysconfdir=/etc \
Hans-G?nter@22274 32 --mandir=/usr/share/man \
Hans-G?nter@22274 33 --localstatedir=/var \
Hans-G?nter@22274 34 --with-xorg-module-dir=$MODS \
psychomaniak@20129 35 $CONFIGURE_ARGS &&
Hans-G?nter@22274 36 make &&
Hans-G?nter@22274 37 make install
psychomaniak@20129 38 }
psychomaniak@20129 39
psychomaniak@20129 40 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@20129 41 genpkg_rules()
psychomaniak@20129 42 {
psychomaniak@20129 43 mkdir -p ${fs}${MODS}/drivers
psychomaniak@20129 44 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
psychomaniak@20129 45 }