public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/openais: openais-0.82.ebuild metadata.xml ChangeLog Manifest
       [not found] <E1JPixq-000899-8c@stork.gentoo.org>
@ 2008-02-14 19:35 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2008-02-14 19:35 UTC (permalink / raw
  To: gentoo-dev, wschlich

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
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-14 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JPixq-000899-8c@stork.gentoo.org>
2008-02-14 19:35 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/openais: openais-0.82.ebuild metadata.xml ChangeLog Manifest Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox