1 |
On 18:37 Thu 14 Feb , Wolfram Schlich (wschlich) wrote: |
2 |
> Revision Changes Path |
3 |
> 1.1 sys-cluster/openais/openais-0.82.ebuild |
4 |
> |
5 |
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/openais-0.82.ebuild?rev=1.1&view=markup |
6 |
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/openais-0.82.ebuild?rev=1.1&content-type=text/plain |
7 |
|
8 |
> src_compile() { |
9 |
> useq debug && append-flags -O0 -ggdb -Wall -DDEBUG |
10 |
> emake LIBDIR="/usr/$(get_libdir)/openais" \ |
11 |
> CFLAGS="${CFLAGS}" CC="$(tc-getCC)" |
12 |
|
13 |
|| die? |
14 |
|
15 |
> src_install() { |
16 |
> emake LIBDIR="/usr/$(get_libdir)/openais" \ |
17 |
> DESTDIR="${D}" install || die "make install failed" |
18 |
> |
19 |
> # http://bugs.gentoo.org/show_bug.cgi?id=160847#c16 |
20 |
> dosym /usr/sbin/aisexec /sbin/aisexec |
21 |
|
22 |
I prefer relative symlinks. |
23 |
|
24 |
> dodir /etc/env.d |
25 |
> echo LDPATH="/usr/$(get_libdir)/openais" > "${D}"/etc/env.d/03openais |
26 |
> |
27 |
> newinitd "${FILESDIR}"/ais.initd ais |
28 |
> |
29 |
> diropts -o ais -g ais -m 0750 |
30 |
> keepdir /var/log/ais |
31 |
> |
32 |
> exeinto /usr/libexec/openais |
33 |
> doexe exec/openais-instantiate |
34 |
> doexe test/{ckptbench,ckptbenchth,ckpt-rd,ckptstress,ckpt-wr,clc_cli_script} |
35 |
> doexe test/{cpgbench,evsbench,evtbench,logsys_s,logsys_t1,logsys_t2} |
36 |
> doexe test/{publish,subscription,testamf1,testckpt,testclm,testclm2,testcpg,testcpg2} |
37 |
> doexe test/{testevs,testevt,testlck,testmsg,unlink} |
38 |
> |
39 |
> dosbin test/openais-cfgtool |
40 |
> |
41 |
> dodoc CHANGELOG QUICKSTART README.* SECURITY TODO conf/* |
42 |
|
43 |
Don't you want to die if some of those fail? |
44 |
|
45 |
Thanks, |
46 |
Donnie |
47 |
-- |
48 |
gentoo-dev@l.g.o mailing list |