summaryrefslogtreecommitdiff
blob: 6d15e5129a4feb99377cc78991746b28374375a8 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gpe-base/libdisplaymigration/libdisplaymigration-0.99.ebuild,v 1.3 2011/03/05 18:05:31 miknix Exp $

EAPI="2"

inherit gpe

DESCRIPTION="Gtk+ display migration library"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
IUSE="${IUSE}"
GPE_DOCS=""

RDEPEND="${RDEPEND}
	x11-libs/gtk+:2
	>=dev-libs/libgcrypt-1.2.1"

DEPEND="${DEPEND}
	${RDEPEND}"

src_prepare() {
	gpe_src_prepare

	# Let the PM handle strip
	sed -i -e s/'install -s'/'install'/ Makefile || die
	# Fix for passing multilib checks
	sed -i -e 's@$(PREFIX)/lib@$(PREFIX)/'"$(get_libdir)@g" Makefile \
		|| die "Cannot sed Makefile"
}

src_install() {
	gpe_src_install "$@"
	make DESTDIR="${D}" PREFIX=/usr install-devel
}