Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 159974 Details for
Bug 231297
new ebuild: dev-libs/protobuf-2.0.0_beta1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
protobuf-2.0.0_beta1.ebuild
protobuf-2.0.0_beta1.ebuild (text/plain), 1.63 KB, created by
Auke Booij (tulcod)
on 2008-07-09 19:20:46 UTC
(
hide
)
Description:
protobuf-2.0.0_beta1.ebuild
Filename:
MIME Type:
Creator:
Auke Booij (tulcod)
Created:
2008-07-09 19:20:46 UTC
Size:
1.63 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >NEED_PYTHON="2.4" > >inherit versionator distutils python java-pkg-2 > >MY_PV="${PV}" >MY_PV="${MY_PV/_/}" >MY_PV="${MY_PV/alpha1/alpha}" >MY_PV="${MY_PV/beta1/beta}" >MY_P="${PN}-${MY_PV}" > >DESCRIPTION="Google's Protocol Buffers, a fast method for IPC and network communication." >HOMEPAGE="http://code.google.com/p/protobuf/" >SRC_URI="http://protobuf.googlecode.com/files/${MY_P}.tar.bz2" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="examples java python vim" > >RDEPEND="java? ( >=virtual/jre-1.5 )" >DEPEND="${DEPEND} \ > java? ( >=virtual/jdk-1.5 > test? ( >=dev-java/junit-4.4 \ > dev-java/easymock:2 ) )" > >S="${WORKDIR}/${MY_P}" > >src_compile() { > econf || die > emake || die "emake failed" > if use python ; then > cd python > distutils_src_compile > cd .. > fi > if use java ; then > cd src > ./protoc --java_out=../java/src/main/java google/protobuf/descriptor.proto > cd ../java > mkdir bin > cd src/main/java/ > ejavac -classpath protobuf.jar -d ../../../bin `find -name "*.java" || die` > cd ../../.. > `java-config -j` cvf "${PN}.jar" -C bin . || die > cd .. > fi >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > if use python ; then > cd python > distutils_src_install > cd .. > fi > if use examples ; then > insinto /usr/share/doc/${PF}/examples > doins -r examples/* || die "doins examples failed" > fi > if use vim ; then > insinto /usr/share/vim/vimfiles > doins editors/proto.vim > fi > if use java ; then > cd java > java-pkg_dojar *.jar > cd .. > fi > dodoc CHANGES.txt CONTRIBUTORS.txt README.txt >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 231297
:
159955
| 159974