wok annotate xorg-xf86-video-cirrus/receipt @ rev 24069
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 06 11:01:20 2021 +0000 (2021-07-06) |
parents | 814c58f64f83 |
children | 5d79829fa876 |
rev | line source |
---|---|
pascal@14732 | 1 # SliTaz package receipt. |
pascal@14732 | 2 |
pascal@14732 | 3 PACKAGE="xorg-xf86-video-cirrus" |
Hans-G?nter@22269 | 4 VERSION="1.5.3" |
pascal@14732 | 5 CATEGORY="x-window" |
Hans-G?nter@22269 | 6 TAGS="xorg display" |
pascal@14732 | 7 SHORT_DESC="Xorg driver for Cirrus cards." |
pascal@14732 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22269 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22269 | 11 |
pascal@14732 | 12 SOURCE="xf86-video-cirrus" |
pascal@14732 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@14732 | 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pascal@14732 | 15 |
pascal@14732 | 16 DEPENDS="xorg-server" |
pascal@14732 | 17 BUILD_DEPENDS="xorg-server-dev" |
pascal@14732 | 18 |
pascal@14732 | 19 MODS='/usr/lib/X11/modules' |
pascal@14732 | 20 |
pascal@14732 | 21 # Rules to configure and make the package. |
pascal@14732 | 22 compile_rules() |
pascal@14732 | 23 { |
Hans-G?nter@22269 | 24 ./configure \ |
Hans-G?nter@22269 | 25 --prefix=/usr \ |
Hans-G?nter@22269 | 26 --sysconfdir=/etc \ |
Hans-G?nter@22269 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@22269 | 28 --localstatedir=/var \ |
Hans-G?nter@22269 | 29 --with-xorg-module-dir=$MODS \ |
pascal@14732 | 30 $CONFIGURE_ARGS && |
pascal@14732 | 31 make && |
pascal@14732 | 32 make DESTDIR=$DESTDIR install |
pascal@14732 | 33 } |
pascal@14732 | 34 |
pascal@14732 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14732 | 36 genpkg_rules() |
pascal@14732 | 37 { |
pascal@14732 | 38 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pascal@14732 | 39 cp -a $install/usr/lib/X11/modules/drivers/*.so \ |
pascal@14732 | 40 $fs/usr/lib/X11/modules/drivers/ |
pascal@14732 | 41 } |