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