wok-current view xorg-xf86-video-s3/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (23 months ago) |
parents | d17456d910ab |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-s3"
4 VERSION="0.7.0"
5 CATEGORY="x-window"
6 TAGS="xorg display"
7 SHORT_DESC="Xorg driver for Trident S3 cards."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xf86-video-s3"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
16 DEPENDS="xorg-server"
17 BUILD_DEPENDS="xorg-server-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --localstatedir=/var \
33 --with-xorg-module-dir=/usr/lib/X11/modules \
34 $CONFIGURE_ARGS
35 make
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/X11/modules/drivers/
43 cp -a $install/usr/lib/X11/modules/drivers/*.so \
44 $fs/usr/lib/X11/modules/drivers/
45 }