wok-undigest annotate xorg-xf86-video-radeonhd/receipt @ rev 193

Up: weechat move to wok
author Liu Peng <rocky@slitaz.org>
date Tue Dec 28 16:09:54 2010 +0000 (2010-12-28)
parents
children
rev   line source
erjo@25 1 # SliTaz package receipt.
erjo@25 2
erjo@25 3 PACKAGE="xorg-xf86-video-radeonhd"
erjo@25 4 VERSION="1.3.0"
erjo@25 5 CATEGORY="x-window"
erjo@25 6 SHORT_DESC="Xorg server ATI Radeon HD driver."
erjo@25 7 MAINTAINER="lufeng369@slitaz.org"
erjo@25 8 DEPENDS="xorg xorg-server"
erjo@25 9 BUILD_DEPENDS="xorg-server-dev xorg-libpciaccess-dev xorg-xproto xorg-fontsproto"
erjo@25 10 SOURCE="xf86-video-radeonhd"
erjo@25 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@25 12 WEB_SITE="http://www.x.org/"
erjo@25 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
erjo@25 14
erjo@25 15 # Rules to configure and make the package.
erjo@25 16 compile_rules()
erjo@25 17 {
erjo@25 18 cd $src
erjo@25 19 ./configure \
erjo@25 20 --prefix=/usr \
erjo@25 21 --sysconfdir=/etc \
erjo@25 22 --mandir=/usr/share/man \
erjo@25 23 --localstatedir=/var \
erjo@25 24 --with-xorg-module-dir=/usr/lib/X11/modules \
erjo@25 25 $CONFIGURE_ARGS &&
erjo@25 26 make &&
erjo@25 27 make DESTDIR=$PWD/_pkg install
erjo@25 28 }
erjo@25 29
erjo@25 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@25 31 genpkg_rules()
erjo@25 32 {
erjo@25 33 mkdir -p $fs/usr/lib/X11/modules/drivers/
erjo@25 34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
erjo@25 35 $fs/usr/lib/X11/modules/drivers/
erjo@25 36 }