wok-current view xorg-xf86-video-i740/receipt @ rev 25372

updated trash-cli (0.17.1.14 -> 0.22.4.16)
author Hans-G?nter Theisgen
date Fri Jul 29 14:58:56 2022 +0100 (2022-07-29)
parents 4880ad095051
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-i740"
4 VERSION="1.4.0"
5 CATEGORY="x-window"
6 TAGS="xorg display"
7 SHORT_DESC="Xorg Intel i740 video driver."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xf86-video-i740"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
16 DEPENDS="xorg-server"
17 BUILD_DEPENDS="xorg-server-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --localstatedir=/var \
33 --with-xorg-module-dir=/usr/lib/X11/modules \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/X11/modules/drivers
43 cp -a $install/usr/lib/X11/modules/drivers/*.so \
44 $fs/usr/lib/X11/modules/drivers/
45 }