Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Binary ebuild for Calibre
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5252

PostPosted: Sat Sep 08, 2012 4:43 pm    Post subject: Binary ebuild for Calibre Reply with quote

I just rebuilt one of my Gentoo machines and needed to install Calibre.

That's a long list of dependencies that seems a bit unnecessary.

So I poked around and found the Calibre site: http://calibre-ebook.com/download_linux

According to the makers of Calibre, they recommend the binary install method described on the above-linked page. Since, although Gentoo is a source-based distro, there are ebuilds for some binaries, would someone be willing to write an ebuild that encapsulates the binary installer command that the Calibre programmers recommend, and put it in the official tree as calibre-bin? This will also provide the user with the latest version. The source ebuild is always out of date anyway, even on ~arch.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5252

PostPosted: Tue Sep 11, 2012 1:39 pm    Post subject: Reply with quote

Done did it. 8)

https://bugs.gentoo.org/show_bug.cgi?id=434728
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5252

PostPosted: Thu Sep 13, 2012 3:11 pm    Post subject: Reply with quote

Updated ebuild. Works with FEATURES="-sandbox", which is not good, and doesn't allow for uninstall via emerge -C, so I'd appreciate suggestions. Here's the ebuild:

Code:

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

DESCRIPTION=""
HOMEPAGE=""
SRC_URI="http://audiodef.com/gentoo/src/install_calibre.py"

LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}"

src_install(){
        python /usr/portage/distfiles/install_calibre.py
}

_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum