2013-02-09 21:04:21 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
2012-06-09 17:59:25 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2013-08-18 16:10:51 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/www-client/conkeror/conkeror-1.0_pre20130711.ebuild,v 1.2 2013/08/17 20:49:51 ulm Exp $
|
2012-06-09 17:59:25 +04:00
|
|
|
|
2013-08-13 22:23:24 +04:00
|
|
|
EAPI=5
|
2012-06-09 17:59:25 +04:00
|
|
|
|
|
|
|
inherit eutils toolchain-funcs fdo-mime
|
|
|
|
|
|
|
|
DESCRIPTION="A Mozilla-based web browser whose design is inspired by GNU Emacs"
|
|
|
|
HOMEPAGE="http://conkeror.org/"
|
|
|
|
# snapshot from http://repo.or.cz/w/conkeror.git
|
|
|
|
# conkeror.png is derived from http://commons.wikimedia.org/wiki/File:Conker.jpg
|
|
|
|
SRC_URI="mirror://gentoo/${P}.tar.gz
|
|
|
|
mirror://gentoo/conkeror.png"
|
|
|
|
|
|
|
|
# CC-BY-SA-3.0 for conkeror.png
|
2013-02-09 21:04:21 +04:00
|
|
|
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 ) CC-BY-SA-3.0"
|
2012-06-09 17:59:25 +04:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
|
|
|
2013-08-18 16:10:51 +04:00
|
|
|
RDEPEND="|| ( >=www-client/firefox-5.0 >=www-client/firefox-bin-23.0 )"
|
2012-06-09 17:59:25 +04:00
|
|
|
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
unpack ${P}.tar.gz
|
|
|
|
cp "${DISTDIR}/conkeror.png" . || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto /usr/share/${PN}
|
|
|
|
doins -r branding chrome components content defaults help locale modules \
|
|
|
|
search-engines style tests
|
|
|
|
doins application.ini *.manifest Info.plist
|
|
|
|
|
|
|
|
exeinto /usr/libexec/${PN}
|
|
|
|
doexe conkeror-spawn-helper
|
|
|
|
dosym ../../libexec/${PN}/conkeror-spawn-helper \
|
|
|
|
/usr/share/${PN}/conkeror-spawn-helper
|
|
|
|
|
2013-08-13 22:23:24 +04:00
|
|
|
newbin "${FILESDIR}/conkeror-r1.sh" conkeror
|
2012-06-09 17:59:25 +04:00
|
|
|
domenu "${FILESDIR}/conkeror.desktop"
|
|
|
|
doicon "${WORKDIR}/conkeror.png"
|
|
|
|
|
|
|
|
doman contrib/man/conkeror.1
|
|
|
|
dodoc CREDITS
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
fdo-mime_desktop_database_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
fdo-mime_desktop_database_update
|
|
|
|
}
|