wok annotate xorg-xf86-video-i740/receipt @ rev 25456

BootProg: fix fat16 case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 22 14:50:47 2022 +0000 (2022-09-22)
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 }