1 |
commit: 417647917e6d12ad0c0dbeb95b9536945d29d96f |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 11:11:41 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 11:11:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41764791 |
7 |
|
8 |
net-libs/liblockfile: Bump to version 1.10 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-libs/liblockfile/Manifest | 1 + |
13 |
net-libs/liblockfile/liblockfile-1.10.ebuild | 47 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/liblockfile/Manifest b/net-libs/liblockfile/Manifest |
17 |
index 6a0458b..3d66347 100644 |
18 |
--- a/net-libs/liblockfile/Manifest |
19 |
+++ b/net-libs/liblockfile/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST liblockfile_1.09.orig.tar.gz 32178 SHA256 16979eba05396365e1d6af7100431ae9d32f9bc063930d1de66298a0695f1b7f SHA512 8577f8bfa9c78983d6a409bc449be0d981e599a6a5f2fc8b43f76a238810ec5e3c180e27280719398f31041ed837fe8ba61df208ce77db77a354453e4579848a WHIRLPOOL 4365bd4f90207a97ec8421f60bcf2d61c4565eecc9435fd920b31ede3e182856783d21ad466632ea8d18e0378f3401637185235ef90e50d6bc10d093ae4d8a42 |
22 |
+DIST liblockfile_1.10.orig.tar.gz 43617 SHA256 f58db53e4b558734bf7f33f96085d803126bdde2a434cd01eeface42a5539b2c SHA512 fa38d16d7af787ca47d6adaa87abb50af0ec1d4ae9d6e7eb8e77f58c44e974dc99a79bd648ded4f539b00540a513d8e40742b706b242365f3ffdf0cf392f618d WHIRLPOOL 4cb36e31eb1454ed8d78ca47926737c4bccb1152e66273d1097ae354d8f67cbde6bc987ff5bef5fb202425c9641cc7c762ceaf6c640adff5daca59d61dded0f1 |
23 |
|
24 |
diff --git a/net-libs/liblockfile/liblockfile-1.10.ebuild b/net-libs/liblockfile/liblockfile-1.10.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..79e62cd |
27 |
--- /dev/null |
28 |
+++ b/net-libs/liblockfile/liblockfile-1.10.ebuild |
29 |
@@ -0,0 +1,47 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit autotools multilib user |
37 |
+ |
38 |
+DESCRIPTION="Implements functions designed to lock the standard mailboxes" |
39 |
+HOMEPAGE="http://www.debian.org/" |
40 |
+SRC_URI="mirror://debian/pool/main/libl/${PN}/${PN}_${PV}.orig.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
45 |
+IUSE="" |
46 |
+ |
47 |
+pkg_setup() { |
48 |
+ enewgroup mail 12 |
49 |
+} |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ |
54 |
+ # I don't feel like making the Makefile portable |
55 |
+ [[ ${CHOST} == *-darwin* ]] \ |
56 |
+ && cp "${FILESDIR}"/Makefile.Darwin.in Makefile.in |
57 |
+ |
58 |
+ eautoreconf |
59 |
+} |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local grp=mail |
63 |
+ if use prefix ; then |
64 |
+ # we never want to use LDCONFIG |
65 |
+ export LDCONFIG=${EPREFIX}/bin/true |
66 |
+ # in unprivileged installs this is "mail" |
67 |
+ grp=$(id -g) |
68 |
+ fi |
69 |
+ econf --with-mailgroup=${grp} --enable-shared |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ dodir /usr/{bin,include,$(get_libdir)} /usr/share/man/{man1,man3} |
74 |
+ emake ROOT="${D}" install |
75 |
+ dodoc README Changelog |
76 |
+} |