wok annotate xorg-xf86-video-r128/receipt @ rev 25706
BootProg/boot32.asm: add int 21h services 02h, 09h, 25h, 35h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 26 17:36:15 2024 +0000 (4 months ago) |
parents | 873fa1b5f8ff |
children |
rev | line source |
---|---|
psychomaniak@20129 | 1 # SliTaz package receipt. |
psychomaniak@20129 | 2 |
psychomaniak@20129 | 3 PACKAGE="xorg-xf86-video-r128" |
Hans-G?nter@22277 | 4 VERSION="6.12.0" |
psychomaniak@20129 | 5 CATEGORY="x-window" |
Hans-G?nter@22277 | 6 TAGS="xorg display" |
psychomaniak@20129 | 7 SHORT_DESC="Xorg server Rage128 driver." |
psychomaniak@20129 | 8 MAINTAINER="gokhlayeh@slitaz.org" |
psychomaniak@20129 | 9 LICENSE="MIT" |
Hans-G?nter@22277 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22277 | 11 |
psychomaniak@20129 | 12 SOURCE="xf86-video-r128" |
psychomaniak@20129 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
psychomaniak@20129 | 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
psychomaniak@20129 | 15 |
Hans-G?nter@22277 | 16 DEPENDS="mesa-dri-r128 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@22277 | 30 ./configure \ |
Hans-G?nter@22277 | 31 --sysconfdir=/etc \ |
Hans-G?nter@22277 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@22277 | 33 --localstatedir=/var \ |
Hans-G?nter@22277 | 34 --with-xorg-module-dir=$MODS \ |
Hans-G?nter@22277 | 35 --enable-dri \ |
psychomaniak@20129 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@22277 | 37 make && |
Hans-G?nter@22277 | 38 make install |
psychomaniak@20129 | 39 } |
psychomaniak@20129 | 40 |
psychomaniak@20129 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20129 | 42 genpkg_rules() |
psychomaniak@20129 | 43 { |
psychomaniak@20129 | 44 mkdir -p ${fs}${MODS}/drivers |
psychomaniak@20129 | 45 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
psychomaniak@20129 | 46 } |