hi there, I need to use the Open Graph Drawing Framework (http://www.ogdf.net/) for a project with some collaborators. It does not seem to be supported by the portage tree. Please find attached an initial ebuild draft. I hope this helps. cheers Reproducible: Always
Created attachment 389708 [details] ogdf-2012.07.ebuild
Created attachment 389710 [details, diff] patch 1
Created attachment 389712 [details, diff] patch 2
Comment on attachment 389708 [details] ogdf-2012.07.ebuild >KEYWORDS="amd64 ppc x86" >IUSE="" No need to set an empty IUSE >DEPEND="<=dev-lang/python-2.7.8" Is 2.7.7 all right? >pkg_setup(){ > S="${WORKDIR}/OGDF/" That should be in the global scope of the ebuild, not in a phase. >src_compile() { > emake CC="$(tc-getCC)" || die "emake failed" emake dies by itself. >src_install () { > dodir usr/include/ogdf > dodir usr/lib/ > cp -R ${S}/ogdf/* ${D}usr/include/ogdf/ > cp ${S}/_release/libOGDF.so ${D}usr/lib Use dolib.
Created attachment 389728 [details] updated ebuild draft
hi there, (In reply to Jeroen Roovers from comment #4) > Comment on attachment 389708 [details] > ogdf-2012.07.ebuild > > >KEYWORDS="amd64 ppc x86" > >IUSE="" > > No need to set an empty IUSE alright. > > >DEPEND="<=dev-lang/python-2.7.8" > > Is 2.7.7 all right? I guess so. That's the 2.7 version of python I'm running here. It's just that their configuration script doesn't seem to work with any 3.x version of python. > > >pkg_setup(){ > > S="${WORKDIR}/OGDF/" > > That should be in the global scope of the ebuild, not in a phase. ok. > > >src_compile() { > > emake CC="$(tc-getCC)" || die "emake failed" > > emake dies by itself. I removed that (and still building ok here). > > >src_install () { > > dodir usr/include/ogdf > > dodir usr/lib/ > > cp -R ${S}/ogdf/* ${D}usr/include/ogdf/ > > cp ${S}/_release/libOGDF.so ${D}usr/lib > > Use dolib. ok. you'll find an updated version attached. cheers.