blob: 32322bfab7898c4cf3c1bab92afad16fa3e827a2 (
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
27
28
29
30
31
32
33
34
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/videogen/videogen-0.32-r1.ebuild,v 1.1 2010/09/19 01:21:58 jer Exp $
EAPI="2"
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 ~ppc64 ~x86"
DEPEND=">=sys-apps/sed-4"
RDEPEND=""
src_prepare() {
# set LDFLAGS
sed -i Makefile -e 's| -o | $(LDFLAGS)&|g' || die "sed Makefile"
}
src_compile() {
# override CC/CFLAGS
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die "emake"
}
src_install() {
dobin videogen || die
doman videogen.1x
dodoc BUGS CHANGES README THANKS videogen.sample
}
|