/[gentoo-x86]/gpe-base/libdisplaymigration/libdisplaymigration-0.99.ebuild
Gentoo

Contents of /gpe-base/libdisplaymigration/libdisplaymigration-0.99.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 5 18:05:31 2011 UTC (3 years, 4 months ago) by miknix
Branch: MAIN
Changes since 1.2: +14 -10 lines
Fixed hardcoded libdir in Makefile, use EAPI2

(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)

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 }

  ViewVC Help
Powered by ViewVC 1.1.20