wok annotate xorg-xf86-video-vesa/receipt @ rev 25041

Up fatattr (1.0.1), puzzles (20220128)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 27 17:15:46 2022 +0000 (2022-05-27)
parents 814c58f64f83
children
rev   line source
pankso@88 1 # SliTaz package receipt.
pankso@88 2
pankso@88 3 PACKAGE="xorg-xf86-video-vesa"
pascal@20380 4 VERSION="2.4.0"
pankso@88 5 CATEGORY="x-window"
erjo@4865 6 SHORT_DESC="Xorg Vesa video driver."
pankso@88 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
pankso@88 9 SOURCE="xf86-video-vesa"
gokhlayeh@6993 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@20423 11 WEB_SITE="https://www.x.org/"
pankso@88 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@88 13
pankso@10781 14 # We can use xorg-server-light with evdev and vesa driver.
pankso@10781 15 #DEPENDS="xorg-server"
pankso@10781 16 BUILD_DEPENDS="xorg-server-dev"
pankso@10781 17
pankso@12530 18 MODS='/usr/lib/X11/modules'
pankso@12530 19
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24072 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pankso@88 26 # Rules to configure and make the package.
pankso@88 27 compile_rules()
pankso@88 28 {
pankso@10781 29 ./configure \
pankso@10781 30 --sysconfdir=/etc \
pankso@10781 31 --localstatedir=/var \
pankso@12530 32 --with-xorg-module-dir=$MODS \
pankso@10781 33 $CONFIGURE_ARGS &&
pankso@10781 34 make && make install
pankso@88 35 }
pankso@88 36
pankso@88 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@88 38 genpkg_rules()
pankso@88 39 {
pankso@12530 40 mkdir -p ${fs}${MODS}/drivers
pankso@12530 41 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
pankso@88 42 }