blob: e5a3bb0c075ab489be929726a62086cda2a2f774 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xpad/xpad-4.0.ebuild,v 1.6 2010/07/18 11:08:19 xarthisius Exp $
EAPI=2
DESCRIPTION="A GTK+ 2.0 based 'post-it' note system."
HOMEPAGE="http://mterry.name/xpad"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.12:2"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.31
dev-util/pkgconfig
sys-devel/gettext"
src_prepare() {
# bug 326713
sed -i '/"type", GTK_WINDOW_TOPLEVEL/d' src/xpad-pad.c || die
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}
|