Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/bookmarksync/
Date: Thu, 26 Jul 2018 16:46:11
Message-Id: 1532623557.e2d424b2572d6a0c08b6ec703a78c499ef4d0379.zlogene@gentoo
1 commit: e2d424b2572d6a0c08b6ec703a78c499ef4d0379
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 26 16:44:50 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 26 16:45:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d424b2
7
8 www-misc/bookmarksync: Revision bump (EAPI=7)
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 www-misc/bookmarksync/bookmarksync-0.3.4-r3.ebuild | 43 ++++++++++++++++++++++
13 1 file changed, 43 insertions(+)
14
15 diff --git a/www-misc/bookmarksync/bookmarksync-0.3.4-r3.ebuild b/www-misc/bookmarksync/bookmarksync-0.3.4-r3.ebuild
16 new file mode 100644
17 index 00000000000..288100d5545
18 --- /dev/null
19 +++ b/www-misc/bookmarksync/bookmarksync-0.3.4-r3.ebuild
20 @@ -0,0 +1,43 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +inherit toolchain-funcs
27 +
28 +DESCRIPTION="bookmarksync synchronizes various browser bookmark files"
29 +HOMEPAGE="https://sourceforge.net/projects/booksync/"
30 +SRC_URI="mirror://sourceforge/booksync/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2"
33 +KEYWORDS="~amd64 ppc x86"
34 +SLOT="0"
35 +
36 +IUSE="perl"
37 +RESTRICT="mirror"
38 +
39 +DEPEND=""
40 +RDEPEND="${DEPEND}
41 + perl? ( dev-lang/perl )"
42 +
43 +src_prepare() {
44 + default
45 + sed -i Makefile \
46 + -e 's|g++|$(CXX) $(CFLAGS)|g' \
47 + -e 's| -o | $(LDFLAGS)&|g' \
48 + || die "sed Makefile"
49 + tc-export CXX
50 +}
51 +
52 +src_install () {
53 + dobin bookmarksync
54 + if use perl ; then
55 + dobin tools/bookmarksync.pl
56 + dodoc tools/README.tools
57 + fi
58 + dodoc README TODO DEVELOPERS
59 +}
60 +
61 +pkg_postinst () {
62 + use perl && ewarn "You will need to modify bookmarksync.pl before use"
63 +}