wok-current view xorg-xf86-video-sis/receipt @ rev 25642
Bump linux to 4.19.305, add linux-pae-ipv6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 17 12:05:22 2024 +0000 (9 months ago) |
parents | 8dc9d75602ca |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-sis"
4 VERSION="0.12.0"
5 CATEGORY="x-window"
6 TAGS="xorg display"
7 SHORT_DESC="Xorg driver for SIS cards."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xf86-video-sis"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
16 DEPENDS="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 --prefix=/usr \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 --localstatedir=/var \
35 --with-xorg-module-dir=$MODS \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/X11/modules/drivers
45 cp -a $install/usr/lib/X11/modules/drivers/*.so \
46 $fs/usr/lib/X11/modules/drivers/
47 }