Re: Gentoo Linux Ebuild

Participants: BioMike
Quote from: mizerydearia on August 27, 2010, 8:03:27 AM
Quote from: BioMike on August 27, 2010, 5:22:35 AM
  1. Remind that you will need to fix the header.

I don’t understand this. Which header?

Code:# Copyright 1999-2010 Gentoo Foundation

Distributed under the terms of the GNU General Public License v2

$Header: /var/cvsroot/gentoo-x86/app-mobilephone/lightblue/lightblue-0.4.ebuild,v 1.3 2010/03/27 17:57:36 arfrever Exp $

That header Wink

Quote from: mizerydearia on August 27, 2010, 8:03:27 AM
Quote from: BioMike on August 27, 2010, 5:22:35 AM
  1. /home/bticoin?

I don’t see where I misspelled bitcoin. Which file?

My mistake. I meant to write /home/bitcoin. My point is that this should be /var/lib/bitcoin.

Quote from: mizerydearia on August 27, 2010, 8:03:27 AM
Quote from: BioMike on August 27, 2010, 5:22:35 AM
  1. Strip optimizations from the Makefile and let the user provide them (or strip them properly)

I am uncertain what “optimizations” are.

Things like “-msse2 -O3 -march=amdfam10”. Gentoo users normally specify them themselves in /etc/make.conf.

Quote from: mizerydearia on August 27, 2010, 8:03:27 AM
Quote from: BioMike on August 27, 2010, 5:22:35 AM
  1. Don’t build static code. I have a Makefile that builds dynamic code. If you want I can send it to you. You will need to make changes to it.

I am not familiar with which parts of code are static and could be converted to dynamic. I only prepared an ebuild because it seems nobody else has. I am not skilled enough to perfect the ebuild, however, if anyone else would like to contribute towards making it better, I set up a git repository: http://github.com/mizerydearia/bitcoin_gentoo_ebuild

I can help you with that. One other thing that might be nice is an init.d script to start and stop the daemon at boot. oh… it’s already there.