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