void-packages/srcpkgs/xf86-video-ati-git-snapshot/template
Juan RP 081908d6e5 Added xf86-video-ati-git-snapshot, to fetch from master git repo.
--HG--
extra : convert_revision : 04c9db6c08992f8d9ef6544968b685b55ef5f7ea
2010-02-17 07:15:16 +01:00

37 lines
1,017 B
Text

# Template build file for 'xf86-video-ati'.
pkgname=xf86-video-ati-git-snapshot
version="$(date +%Y%m%d)"
build_style=gnu_configure
short_desc="Xorg ATI Radeon video driver (git snapshot)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=cfde066a7087a19b624f79e95cb9a6c97a847b8802cf38d4ae6022758bf338f6
long_desc="
This is the video driver for ATI Radeon cards for the Xorg X11 server."
nofetch=yes
noextract=yes
Add_dependency run glibc
Add_dependency run libpciaccess
Add_dependency run libdrm
Add_dependency run pixman
Add_dependency build pkg-config
Add_dependency build libpciaccess-devel
Add_dependency build libdrm-devel
Add_dependency build pixman-devel
Add_dependency build automake
Add_dependency build xorg-util-macros
Add_dependency build git
Add_dependency full xorg-server
do_fetch()
{
msg_normal "Fetching from master git repository..."
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati \
${pkgname}-${version} || return 1
}
pre_configure()
{
cd ${wrksrc} && ./autogen.sh
}