| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/gpe-base/libdisplaymigration/libdisplaymigration-0.99.ebuild,v 1.2 2011/03/05 17:50:06 miknix Exp $
|
| 4 |
|
| 5 |
EAPI="2"
|
| 6 |
|
| 7 |
inherit gpe
|
| 8 |
|
| 9 |
DESCRIPTION="Gtk+ display migration library"
|
| 10 |
|
| 11 |
LICENSE="LGPL-2"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="~arm ~amd64 ~x86"
|
| 14 |
IUSE="${IUSE}"
|
| 15 |
GPE_DOCS=""
|
| 16 |
|
| 17 |
RDEPEND="${RDEPEND}
|
| 18 |
x11-libs/gtk+:2
|
| 19 |
>=dev-libs/libgcrypt-1.2.1"
|
| 20 |
|
| 21 |
DEPEND="${DEPEND}
|
| 22 |
${RDEPEND}"
|
| 23 |
|
| 24 |
src_prepare() {
|
| 25 |
gpe_src_prepare
|
| 26 |
|
| 27 |
# Let the PM handle strip
|
| 28 |
sed -i -e s/'install -s'/'install'/ Makefile || die
|
| 29 |
# Fix for passing multilib checks
|
| 30 |
sed -i -e 's@$(PREFIX)/lib@$(PREFIX)/'"$(get_libdir)@g" Makefile \
|
| 31 |
|| die "Cannot sed Makefile"
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
gpe_src_install "$@"
|
| 36 |
make DESTDIR="${D}" PREFIX=/usr install-devel
|
| 37 |
}
|