Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mm/
Date: Fri, 04 Aug 2017 18:35:52
Message-Id: 1501871725.d114706d5e8343daf8f0273b8df61aea7ae4ca4e.amynka@gentoo
1 commit: d114706d5e8343daf8f0273b8df61aea7ae4ca4e
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 4 18:30:50 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 4 18:35:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d114706d
7
8 dev-libs/mm: eapi bump to 6
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 dev-libs/mm/mm-1.4.2-r2.ebuild | 34 ++++++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-libs/mm/mm-1.4.2-r2.ebuild b/dev-libs/mm/mm-1.4.2-r2.ebuild
16 new file mode 100644
17 index 00000000000..405cb0a82e8
18 --- /dev/null
19 +++ b/dev-libs/mm/mm-1.4.2-r2.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +DESCRIPTION="Shared Memory Abstraction Library"
27 +HOMEPAGE="http://www.ossp.org/pkg/lib/mm/"
28 +SRC_URI="ftp://ftp.ossp.org/pkg/lib/mm/${P}.tar.gz"
29 +
30 +LICENSE="mm"
31 +SLOT="1.2"
32 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
33 +IUSE=""
34 +
35 +src_prepare() {
36 + sed -i Makefile.in \
37 + -e '/--mode=link/s| -o | $(LDFLAGS)&|g' \
38 + || die "sed Makefile.in"
39 + default
40 +}
41 +
42 +src_test() {
43 + emake test
44 +}
45 +
46 +src_install() {
47 + emake install DESTDIR="${D}"
48 + dodoc README ChangeLog INSTALL PORTING THANKS
49 +}
50 +
51 +pkg_postinst() {
52 + ewarn 'if you upgraded from mm-1.3 or earlier please run:'
53 + ewarn "revdep-rebuild --library \"/usr/$(get_libdir)/libmm.so.13\""
54 +}