wok annotate xorg-xf86-video-mga/receipt @ rev 22711

exempi: add bin/exempi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 22 11:18:51 2020 +0100 (2020-01-22)
parents 814c58f64f83
children 5d79829fa876
rev   line source
psychomaniak@20129 1 # SliTaz package receipt.
psychomaniak@20129 2
psychomaniak@20129 3 PACKAGE="xorg-xf86-video-mga"
Hans-G?nter@22274 4 VERSION="2.0.0"
psychomaniak@20129 5 CATEGORY="x-window"
Hans-G?nter@22274 6 TAGS="xorg display"
psychomaniak@20129 7 SHORT_DESC="Xorg driver for Matrox cards."
psychomaniak@20129 8 MAINTAINER="keupont@no-log.org"
psychomaniak@20129 9 LICENSE="MIT"
Hans-G?nter@22274 10 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22274 11
psychomaniak@20129 12 SOURCE="xf86-video-mga"
psychomaniak@20129 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
psychomaniak@20129 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
psychomaniak@20129 15
Hans-G?nter@22274 16 DEPENDS="mesa-dri-mga xorg-server"
psychomaniak@20129 17 BUILD_DEPENDS="xorg-server-dev"
psychomaniak@20129 18
psychomaniak@20129 19 MODS='/usr/lib/X11/modules'
psychomaniak@20129 20
psychomaniak@20129 21 # Rules to configure and make the package.
psychomaniak@20129 22 compile_rules()
psychomaniak@20129 23 {
Hans-G?nter@22274 24 ./configure \
Hans-G?nter@22274 25 --sysconfdir=/etc \
Hans-G?nter@22274 26 --mandir=/usr/share/man \
Hans-G?nter@22274 27 --localstatedir=/var \
Hans-G?nter@22274 28 --with-xorg-module-dir=$MODS \
psychomaniak@20129 29 $CONFIGURE_ARGS &&
Hans-G?nter@22274 30 make &&
Hans-G?nter@22274 31 make install
psychomaniak@20129 32 }
psychomaniak@20129 33
psychomaniak@20129 34 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@20129 35 genpkg_rules()
psychomaniak@20129 36 {
psychomaniak@20129 37 mkdir -p ${fs}${MODS}/drivers
psychomaniak@20129 38 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
psychomaniak@20129 39 }