/[gentoo-x86]/dev-util/injectso/injectso-0.2-r1.ebuild
Gentoo

Contents of /dev-util/injectso/injectso-0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 1 17:39:24 2009 UTC (4 years, 10 months ago) by jer
Branch: MAIN
Respect CC (bug #244006).
(Portage version: 2.2_rc40/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/injectso/injectso-0.2.ebuild,v 1.10 2007/03/05 03:48:04 genone Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Inject shared libraries into running processes under Solaris and Linux"
10 HOMEPAGE="http://www.securereality.com.au/"
11 SRC_URI="http://www.securereality.com.au/archives/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~x86"
16 IUSE=""
17
18 DEPEND=""
19
20 src_prepare() {
21 epatch "${FILESDIR}/${P}-gcc4.patch"
22 }
23
24 src_configure() {
25 tc-export CC
26 default_src_configure
27 }
28
29 src_install() {
30 dobin injectso
31
32 dodir /usr/lib/injectso
33 insinto /usr/lib/injectso
34 doins libtest.so libtest.c
35
36 dodoc ChangeLog README.txt
37 dohtml README.html
38 }
39
40 pkg_postinst() {
41 echo
42 elog "Read the documentation for instructions on how to use this tool."
43 elog "The sample library \"libtest.so\" and its source file \"libtest.c\""
44 elog "be found in /usr/lib/injectso."
45 echo
46 }

  ViewVC Help
Powered by ViewVC 1.1.20