wok view xorg-xf86-video-trident/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | 37cce7c1aeef |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-trident"
4 VERSION="1.3.8"
5 CATEGORY="x-window"
6 TAGS="xorg display"
7 SHORT_DESC="Xorg driver for trident cards."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xf86-video-trident"
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 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --localstatedir=/var \
34 --with-xorg-module-dir=$MODS \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p ${fs}${MODS}/drivers
44 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
45 }