wok view xorg-xf86-video-r128/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 873fa1b5f8ff |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-r128"
4 VERSION="6.12.0"
5 CATEGORY="x-window"
6 TAGS="xorg display"
7 SHORT_DESC="Xorg server Rage128 driver."
8 MAINTAINER="gokhlayeh@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xf86-video-r128"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
16 DEPENDS="mesa-dri-r128 xorg-server"
17 BUILD_DEPENDS="xorg-server-dev"
19 MODS='/usr/lib/X11/modules'
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --localstatedir=/var \
34 --with-xorg-module-dir=$MODS \
35 --enable-dri \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p ${fs}${MODS}/drivers
45 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
46 }