wok annotate xorg-xf86-video-savage/receipt @ rev 16348
Up: slitaz-base-files (5.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 13 01:42:13 2014 +0200 (2014-04-13) |
parents | 57bce5776848 |
children | 814c58f64f83 |
rev | line source |
---|---|
pascal@14732 | 1 # SliTaz package receipt. |
pascal@14732 | 2 |
pascal@14732 | 3 PACKAGE="xorg-xf86-video-savage" |
pascal@14732 | 4 VERSION="2.3.6" |
pascal@14732 | 5 CATEGORY="x-window" |
pascal@14732 | 6 SHORT_DESC="Xorg driver for Trident savage cards." |
pascal@14732 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pascal@14732 | 9 SOURCE="xf86-video-savage" |
pascal@14732 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@14732 | 11 WEB_SITE="http://www.x.org/" |
pascal@14732 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pascal@14732 | 13 TAGS="xorg display" |
pascal@14732 | 14 |
pascal@14732 | 15 DEPENDS="xorg-server" |
pascal@14732 | 16 BUILD_DEPENDS="xorg-server-dev" |
pascal@14732 | 17 |
pascal@14732 | 18 MODS='/usr/lib/X11/modules' |
pascal@14732 | 19 |
pascal@14732 | 20 # Rules to configure and make the package. |
pascal@14732 | 21 compile_rules() |
pascal@14732 | 22 { |
pascal@14732 | 23 cd $src |
pascal@14732 | 24 ./configure \ |
pascal@14732 | 25 --prefix=/usr \ |
pascal@14732 | 26 --sysconfdir=/etc \ |
pascal@14732 | 27 --mandir=/usr/share/man \ |
pascal@14732 | 28 --localstatedir=/var \ |
pascal@14732 | 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 } |
pascal@14732 | 42 |