wok-6.x annotate xorg-xf86-video-neomagic/receipt @ rev 5596
Up: xorg-xf86-video-neomagic
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue May 18 07:09:39 2010 -0400 (2010-05-18) |
parents | be313e2832de |
children | 92797fee349a |
rev | line source |
---|---|
domcox@1131 | 1 # SliTaz package receipt. |
domcox@1131 | 2 |
domcox@1131 | 3 PACKAGE="xorg-xf86-video-neomagic" |
jozee@5596 | 4 VERSION="1.2.4" |
domcox@1131 | 5 CATEGORY="x-window" |
domcox@1131 | 6 SHORT_DESC="Xorg driver for neomagic cards" |
domcox@1131 | 7 MAINTAINER="domcox@users.sourceforge.net" |
domcox@1131 | 8 DEPENDS="xorg xorg-server" |
domcox@1131 | 9 BUILD_DEPENDS="xorg-server-dev xorg-fontsproto xorg-randrproto xorg-videoproto xorg-xextproto xorg-xf86dgaproto" |
domcox@1131 | 10 SOURCE="xf86-video-neomagic" |
domcox@1131 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@1131 | 12 WEB_SITE="http://www.x.org" |
domcox@1131 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 14 TAGS="xorg display" |
domcox@1131 | 15 |
domcox@1131 | 16 # Rules to configure and make the package. |
domcox@1131 | 17 compile_rules() |
domcox@1131 | 18 { |
domcox@1131 | 19 cd $src |
domcox@1131 | 20 ./configure \ |
domcox@1131 | 21 --prefix=/usr \ |
domcox@1131 | 22 --sysconfdir=/etc \ |
domcox@1131 | 23 --mandir=/usr/share/man \ |
domcox@1131 | 24 --localstatedir=/var \ |
domcox@1131 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
domcox@1131 | 26 $CONFIGURE_ARGS |
domcox@1131 | 27 make |
domcox@1131 | 28 make DESTDIR=$PWD/_pkg install |
domcox@1131 | 29 } |
domcox@1131 | 30 |
domcox@1131 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1131 | 32 genpkg_rules() |
domcox@1131 | 33 { |
domcox@1131 | 34 mkdir -p $fs/usr/lib/X11/modules/drivers |
domcox@1131 | 35 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
domcox@1131 | 36 $fs/usr/lib/X11/modules/drivers/ |
domcox@1131 | 37 |
domcox@1131 | 38 } |
domcox@1131 | 39 |