wok-next annotate xorg-xf86-video-neomagic/receipt @ rev 3353
Up: util-linux-ng (2.15.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 11 17:33:14 2009 +0200 (2009-06-11) |
parents | |
children | be313e2832de |
rev | line source |
---|---|
domcox@1131 | 1 # SliTaz package receipt. |
domcox@1131 | 2 |
domcox@1131 | 3 PACKAGE="xorg-xf86-video-neomagic" |
domcox@1131 | 4 VERSION="1.2.1" |
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" |
domcox@1131 | 14 |
domcox@1131 | 15 # Rules to configure and make the package. |
domcox@1131 | 16 compile_rules() |
domcox@1131 | 17 { |
domcox@1131 | 18 cd $src |
domcox@1131 | 19 ./configure \ |
domcox@1131 | 20 --prefix=/usr \ |
domcox@1131 | 21 --sysconfdir=/etc \ |
domcox@1131 | 22 --mandir=/usr/share/man \ |
domcox@1131 | 23 --localstatedir=/var \ |
domcox@1131 | 24 --with-xorg-module-dir=/usr/lib/X11/modules \ |
domcox@1131 | 25 $CONFIGURE_ARGS |
domcox@1131 | 26 make |
domcox@1131 | 27 make DESTDIR=$PWD/_pkg install |
domcox@1131 | 28 } |
domcox@1131 | 29 |
domcox@1131 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1131 | 31 genpkg_rules() |
domcox@1131 | 32 { |
domcox@1131 | 33 mkdir -p $fs/usr/lib/X11/modules/drivers |
domcox@1131 | 34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
domcox@1131 | 35 $fs/usr/lib/X11/modules/drivers/ |
domcox@1131 | 36 |
domcox@1131 | 37 } |
domcox@1131 | 38 |