wok-6.x annotate xorg-xf86-video-trident/receipt @ rev 25481

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