blob: 4c83ba5e72f183e03bfecbc2674353a1bc8e3a66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/videogen/videogen-0.32.ebuild,v 1.8 2006/02/23 23:20:41 spyderous Exp $
inherit toolchain-funcs
DESCRIPTION="Small utility to generate XFree86 modelines and fbset timings"
HOMEPAGE="http://www.dynaweb.hu/opensource/videogen/"
SRC_URI="http://www.dynaweb.hu/opensource/videogen/download/${P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
DEPEND=">=sys-apps/sed-4"
src_unpack() {
unpack ${A}
sed -i 's:CFLAGS = :# CFLAGS = :' ${S}/Makefile
sed -i "s:CC = gcc:CC = $(tc-getCC):" ${S}/Makefile
}
src_install() {
dobin videogen
doman videogen.1x
dodoc BUGS CHANGES INSTALL README THANKS videogen.sample
}
|