wok-6.x view xorg-xf86-video-vesa/receipt @ rev 24908
updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 15:21:07 2022 +0100 (2022-04-09) |
parents | 814c58f64f83 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-vesa"
4 VERSION="2.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg Vesa video driver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-vesa"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 # We can use xorg-server-light with evdev and vesa driver.
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 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --with-xorg-module-dir=$MODS \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p ${fs}${MODS}/drivers
41 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
42 }