wok-current view xorg-xf86-video-tseng/receipt @ rev 24980

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 09:19:55 2022 +0000 (2022-05-08)
parents 814c58f64f83
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-tseng"
4 VERSION="1.2.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg driver for Tseng cards."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-tseng"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 TAGS="xorg display"
15 DEPENDS="xorg-server"
16 BUILD_DEPENDS="xorg-server-dev"
18 MODS='/usr/lib/X11/modules'
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
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 }