wok-current annotate xorg-xf86-video-mach64/receipt @ rev 24272
updated perltidy (20200110 -> 20211029)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:48:51 2022 +0100 (2022-01-02) |
parents | 3d63943ab632 |
children |
rev | line source |
---|---|
pascal@14732 | 1 # SliTaz package receipt. |
pascal@14732 | 2 |
pascal@14732 | 3 PACKAGE="xorg-xf86-video-mach64" |
pascal@22032 | 4 VERSION="6.9.6" |
pascal@14732 | 5 CATEGORY="x-window" |
pascal@14732 | 6 SHORT_DESC="Xorg driver for ATI MACH 64 cards." |
pascal@14732 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pascal@14732 | 9 SOURCE="xf86-video-mach64" |
pascal@14732 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pascal@14732 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pascal@22032 | 13 #https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64 |
pascal@14732 | 14 TAGS="xorg display" |
pascal@14732 | 15 |
pascal@14732 | 16 DEPENDS="xorg-server" |
pascal@14732 | 17 BUILD_DEPENDS="xorg-server-dev" |
pascal@14732 | 18 |
pascal@14732 | 19 MODS='/usr/lib/X11/modules' |
pascal@14732 | 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 |
pascal@14732 | 27 # Rules to configure and make the package. |
pascal@14732 | 28 compile_rules() |
pascal@14732 | 29 { |
pascal@14732 | 30 ./configure \ |
pascal@14732 | 31 --prefix=/usr \ |
pascal@14732 | 32 --sysconfdir=/etc \ |
pascal@14732 | 33 --mandir=/usr/share/man \ |
pascal@14732 | 34 --localstatedir=/var \ |
pascal@14732 | 35 --with-xorg-module-dir=$MODS \ |
pascal@14732 | 36 $CONFIGURE_ARGS && |
pascal@14732 | 37 make && |
pascal@14732 | 38 make DESTDIR=$DESTDIR install |
pascal@14732 | 39 } |
pascal@14732 | 40 |
pascal@14732 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14732 | 42 genpkg_rules() |
pascal@14732 | 43 { |
pascal@14732 | 44 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pascal@14732 | 45 cp -a $install/usr/lib/X11/modules/drivers/*.so \ |
pascal@14732 | 46 $fs/usr/lib/X11/modules/drivers/ |
pascal@14732 | 47 } |