summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-19 01:21:58 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-19 01:21:58 +0000
commit3db7bbcf7ddf602b1079fce3272753a62fc9652a (patch)
tree05d1d99328711a20d155fc0f34e7741a7366d9fa /x11-misc
parentDo not install treewm-xprop or treewm-xkill. Instead, point out that the newe... (diff)
downloadgentoo-2-3db7bbcf7ddf602b1079fce3272753a62fc9652a.tar.gz
gentoo-2-3db7bbcf7ddf602b1079fce3272753a62fc9652a.tar.bz2
gentoo-2-3db7bbcf7ddf602b1079fce3272753a62fc9652a.zip
Respect LDFLAGS (bug #335633). Do not hard-wire CC and CFLAGS. Set RDEPEND.
(Portage version: 2.2_rc83/cvs/Linux i686)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/videogen/ChangeLog10
-rw-r--r--x11-misc/videogen/videogen-0.32-r1.ebuild34
2 files changed, 42 insertions, 2 deletions
diff --git a/x11-misc/videogen/ChangeLog b/x11-misc/videogen/ChangeLog
index aca547c9e577..4caefb80a25e 100644
--- a/x11-misc/videogen/ChangeLog
+++ b/x11-misc/videogen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/videogen
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/videogen/ChangeLog,v 1.14 2007/10/28 22:38:45 dberkholz Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/videogen/ChangeLog,v 1.15 2010/09/19 01:21:58 jer Exp $
+
+*videogen-0.32-r1 (19 Sep 2010)
+
+ 19 Sep 2010; Jeroen Roovers <jer@gentoo.org> +videogen-0.32-r1.ebuild:
+ Respect LDFLAGS (bug #335633). Do not hard-wire CC and CFLAGS. Set
+ RDEPEND.
28 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
I haven't used this in a couple years, no point in keeping my name in the
diff --git a/x11-misc/videogen/videogen-0.32-r1.ebuild b/x11-misc/videogen/videogen-0.32-r1.ebuild
new file mode 100644
index 000000000000..32322bfab789
--- /dev/null
+++ b/x11-misc/videogen/videogen-0.32-r1.ebuild
@@ -0,0 +1,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
+}