linamh/x11-apps/drm-progs/drm-progs-99999999.ebuild
geos_one ae634a9a52 add x11-drm
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@719 6952d904-891a-0410-993b-d76249ca496b
2009-01-27 19:41:08 +00:00

49 lines
991 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
inherit eutils autotools git
DESCRIPTION="X11 DRM utilities and test programs"
HOMEPAGE="http://dri.freedesktop.org/wiki/"
SRC_URI="http://dev.gentoo.org/~battousai/distfiles/${P}-use-system-libdrm.patch.bz2"
LICENSE="X11"
SLOT="0"
# Keywords inherited from x11-drm ebuild, where these used to be.
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
DEPEND="x11-libs/libdrm"
RDEPEND="${DEPEND}"
#S="${WORKDIR}/${P}"
src_unpack() {
git_src_unpack
cd "${WORKDIR}"
unpack ${P}-use-system-libdrm.patch.bz2
cd "${S}"
epatch "${WORKDIR}"/${P}-use-system-libdrm.patch
eautoreconf -v --install
}
src_compile() {
econf || die "econf failed"
cd "${S}"/tests
emake || die "emake failed"
}
src_install() {
cd "${S}"/tests
dobin dristat drmstat modeprint/modeprint modetest/modetest || die
}