Gentoo Archives: gentoo-commits

From: "Richard Yao (ryao)" <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/lz4: lz4-0_p120.ebuild ChangeLog
Date: Thu, 31 Jul 2014 17:41:38
Message-Id: 20140731174131.9FB1E2004E@flycatcher.gentoo.org
1 ryao 14/07/31 17:41:30
2
3 Modified: ChangeLog
4 Added: lz4-0_p120.ebuild
5 Log:
6 Bump to upstream r120; Keywords on alpha, hppa and ia64 are dropped because valgrind is unavailable on those architectures; We now pull from github, so future updates will be easier
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)
9
10 Revision Changes Path
11 1.24 app-arch/lz4/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/lz4/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/lz4/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/lz4/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 24 Jul 2014 21:19:18 -0000 1.23
24 +++ ChangeLog 31 Jul 2014 17:41:30 -0000 1.24
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-arch/lz4
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v 1.23 2014/07/24 21:19:18 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v 1.24 2014/07/31 17:41:30 ryao Exp $
30 +
31 +*lz4-0_p120 (31 Jul 2014)
32 +
33 + 31 Jul 2014; Richard Yao <ryao@g.o> +lz4-0_p120.ebuild:
34 + Bump to upstream r120; Keywords on alpha, hppa and ia64 are dropped because
35 + valgrind is unavailable on those architectures; We now pull from github, so
36 + future updates will be easier
37
38 24 Jul 2014; Michał Górny <mgorny@g.o> lz4-9999.ebuild:
39 Use the development branch. Switch back to plain Makefile which is better
40
41
42
43 1.1 app-arch/lz4/lz4-0_p120.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/lz4/lz4-0_p120.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/lz4/lz4-0_p120.ebuild?rev=1.1&content-type=text/plain
47
48 Index: lz4-0_p120.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p120.ebuild,v 1.1 2014/07/31 17:41:30 ryao Exp $
53
54 EAPI=5
55
56 inherit multilib multilib-minimal
57
58 if [[ ${PV} == 9999 ]]; then
59 inherit git-r3
60 EGIT_REPO_URI="https://github.com/Cyan4973/lz4.git"
61 EGIT_BRANCH=dev
62 else
63 MY_PV="r${PV##0_p}"
64 MY_P="${PN}-${MY_PV}"
65 SRC_URI="https://github.com/Cyan4973/lz4/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
66 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~s390 ~x86 ~amd64-linux ~x86-linux"
67 S="${WORKDIR}/${MY_P}"
68 fi
69
70 DESCRIPTION="Extremely Fast Compression algorithm"
71 HOMEPAGE="https://code.google.com/p/lz4/"
72
73 LICENSE="BSD-2 GPL-2"
74 SLOT="0"
75 IUSE="test"
76
77 RDEPEND=""
78 DEPEND="test? ( dev-util/valgrind )"
79
80 src_prepare() {
81 multilib_copy_sources
82 }
83
84 multilib_src_compile() {
85 # we must not use the 'all' target since it builds test programs
86 # & extra -m32 executables
87 emake
88 emake -C programs
89 }
90
91 multilib_src_install() {
92 emake install DESTDIR="${D}" \
93 PREFIX="${EPREFIX}/usr" \
94 LIBDIR="${EPREFIX}"/usr/$(get_libdir)
95 }