wok-next view xorg-xf86-video-savage/receipt @ rev 4481
linux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 14 15:44:04 2009 +0100 (2009-11-14) |
parents | 48683c16693d |
children | 39fb9be56471 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-savage"
4 VERSION="2.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg driver for trident cards."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server"
9 BUILD_DEPENDS="xorg-server-dev"
10 SOURCE="xf86-video-savage"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --with-xorg-module-dir=/usr/lib/X11/modules \
25 $CONFIGURE_ARGS
26 make
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/X11/modules/drivers/
34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
35 $fs/usr/lib/X11/modules/drivers/
36 }