On 18:37 Thu 14 Feb , Wolfram Schlich (wschlich) wrote:
> Revision Changes Path
> 1.1 sys-cluster/openais/openais-0.82.ebuild
>
> file :
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/openais-0.82.ebuild?rev=1.1&view=markup
> plain:
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/openais-0.82.ebuild?rev=1.1&content-type=text/plain
> src_compile() {
> useq debug && append-flags -O0 -ggdb -Wall -DDEBUG
> emake LIBDIR="/usr/$(get_libdir)/openais" \
> CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
|| die?
> src_install() {
> emake LIBDIR="/usr/$(get_libdir)/openais" \
> DESTDIR="${D}" install || die "make install failed"
>
> # http://bugs.gentoo.org/show_bug.cgi?id=160847#c16
> dosym /usr/sbin/aisexec /sbin/aisexec
I prefer relative symlinks.
> dodir /etc/env.d
> echo LDPATH="/usr/$(get_libdir)/openais" > "${D}"/etc/env.d/03openais
>
> newinitd "${FILESDIR}"/ais.initd ais
>
> diropts -o ais -g ais -m 0750
> keepdir /var/log/ais
>
> exeinto /usr/libexec/openais
> doexe exec/openais-instantiate
> doexe
> test/{ckptbench,ckptbenchth,ckpt-rd,ckptstress,ckpt-wr,clc_cli_script}
> doexe test/{cpgbench,evsbench,evtbench,logsys_s,logsys_t1,logsys_t2}
> doexe
> test/{publish,subscription,testamf1,testckpt,testclm,testclm2,testcpg,testcpg2}
> doexe test/{testevs,testevt,testlck,testmsg,unlink}
>
> dosbin test/openais-cfgtool
>
> dodoc CHANGELOG QUICKSTART README.* SECURITY TODO conf/*
Don't you want to die if some of those fail?
Thanks,
Donnie
--
[email protected] mailing list