wok annotate xorg-xf86-video-s3/receipt @ rev 24679
updated iso-codes (4.4 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:36:26 2022 +0100 (2022-03-12) |
parents | d17456d910ab |
children |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-video-s3" |
Hans-G?nter@22278 | 4 VERSION="0.7.0" |
pankso@451 | 5 CATEGORY="x-window" |
Hans-G?nter@22278 | 6 TAGS="xorg display" |
erjo@4865 | 7 SHORT_DESC="Xorg driver for Trident S3 cards." |
pankso@451 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22278 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22278 | 11 |
pankso@451 | 12 SOURCE="xf86-video-s3" |
gokhlayeh@6993 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@451 | 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@451 | 25 # Rules to configure and make the package. |
pankso@451 | 26 compile_rules() |
pankso@451 | 27 { |
Hans-G?nter@22278 | 28 ./configure \ |
Hans-G?nter@22278 | 29 --prefix=/usr \ |
Hans-G?nter@22278 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22278 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@22278 | 32 --localstatedir=/var \ |
Hans-G?nter@22278 | 33 --with-xorg-module-dir=/usr/lib/X11/modules \ |
Hans-G?nter@22278 | 34 $CONFIGURE_ARGS |
Hans-G?nter@22278 | 35 make |
Hans-G?nter@22278 | 36 make DESTDIR=$DESTDIR install |
pankso@451 | 37 } |
pankso@451 | 38 |
pankso@451 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 40 genpkg_rules() |
pankso@451 | 41 { |
pankso@451 | 42 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pascal@15579 | 43 cp -a $install/usr/lib/X11/modules/drivers/*.so \ |
pascal@15579 | 44 $fs/usr/lib/X11/modules/drivers/ |
pankso@451 | 45 } |