| 1 |
blueness |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
blueness |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/amd-adl-sdk/amd-adl-sdk-3.0.ebuild,v 1.1 2012/02/23 17:48:58 blueness Exp $
|
| 4 |
blueness |
1.1 |
|
| 5 |
|
|
EAPI=4
|
| 6 |
|
|
DESCRIPTION="API to access display driver functionality for ATI graphics cards"
|
| 7 |
|
|
HOMEPAGE="http://developer.amd.com/sdks/adlsdk/"
|
| 8 |
|
|
SRC_URI="http://download2-developer.amd.com/amd/GPU/zip/ADL_SDK_${PV}.zip"
|
| 9 |
|
|
|
| 10 |
|
|
LICENSE="AMD-ADL"
|
| 11 |
|
|
SLOT="0"
|
| 12 |
|
|
KEYWORDS='~amd64 ~x86'
|
| 13 |
|
|
IUSE='doc examples'
|
| 14 |
|
|
|
| 15 |
|
|
DEPEND=""
|
| 16 |
|
|
RDEPEND="${DEPEND}
|
| 17 |
|
|
x11-drivers/ati-drivers
|
| 18 |
|
|
"
|
| 19 |
blueness |
1.2 |
DEPEND="${DEPEND}
|
| 20 |
|
|
app-arch/unzip
|
| 21 |
|
|
"
|
| 22 |
blueness |
1.1 |
|
| 23 |
|
|
RESTRICT='mirror'
|
| 24 |
|
|
|
| 25 |
|
|
S="${WORKDIR}"
|
| 26 |
|
|
|
| 27 |
|
|
src_install() {
|
| 28 |
|
|
use doc && dodoc -r 'Public-Documents'/* 'adlutil/ADLUTIL User Guide.doc'
|
| 29 |
|
|
use examples && dodoc -r 'Sample' 'Sample-Managed'
|
| 30 |
|
|
|
| 31 |
|
|
insinto '/usr/include/ADL'
|
| 32 |
|
|
doins include/*
|
| 33 |
|
|
}
|