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