blob: 5975d50a6ef4e9bf10697b331bb6b3df96f86f13 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnome-avrdude/gnome-avrdude-0.1.ebuild,v 1.3 2011/03/23 20:59:15 radhermit Exp $
EAPI=1
inherit gnome2 autotools
DESCRIPTION="GNOME GUI for avrdude"
HOMEPAGE="http://www.sourceforge.net/projects/gnome-avrdude/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=">=dev-libs/glib-2
x11-libs/gtk+:2
gnome-base/gconf
gnome-base/libgnome
gnome-base/libgnomeui
gnome-base/libglade
x11-libs/pango"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
RDEPEND="${RDEPEND}
dev-embedded/avrdude"
DOCS="AUTHORS NEWS README"
src_unpack() {
gnome2_src_unpack
sed -i \
-e :a -e '/\\$/N; s/\\\n//; ta' \
-e 's/^gnome_avrdude/#gnome_avrdude/' \
"${S}"/Makefile.am \
|| die "sed failed"
sed -i \
-e 's/Wall\\/Wall/' \
-e 's/^[\t ]*-g//' \
"${S}"/src/Makefile.am \
|| die "sed failed"
eautoreconf
}
|