Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Side by Side Diff: dev-util/bsdiff/bsdiff-4.3-r1.ebuild

Issue 2779016: bsdiff: convert ebuild to the new eclass format (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos-overlay
Patch Set: Ahem: fixed the keywords, too Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | dev-util/bsdiff/files/4.3_bspatch-support-input-output-positioning.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1999-2010 Gentoo Foundation 1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/bsdiff/bsdiff-4.3-r1.ebuild,v 1.12 2 010/01/15 21:21:10 fauli Exp $ 3 # $Header: /var/cvsroot/gentoo-x86/dev-util/bsdiff/bsdiff-4.3-r1.ebuild,v 1.12 2 010/01/15 21:21:10 fauli Exp $
4 4
5 inherit toolchain-funcs flag-o-matic 5 inherit eutils toolchain-funcs flag-o-matic
6 6
7 EAPI=2
7 IUSE="" 8 IUSE=""
8 9
9 DESCRIPTION="bsdiff: Binary Differencer using a suffix alg" 10 DESCRIPTION="bsdiff: Binary Differencer using a suffix alg"
10 HOMEPAGE="http://www.daemonology.net/bsdiff/" 11 HOMEPAGE="http://www.daemonology.net/bsdiff/"
12 SRC_URI="http://www.daemonology.net/bsdiff/${P}.tar.gz"
11 13
12 SLOT="0" 14 SLOT="0"
13 LICENSE="BSD-2" 15 LICENSE="BSD-2"
14 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc sparc x86 ~x86-fbsd ~x86-freebsd ~a md64-linux ~x86-linux ~ppc-macos" 16 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc sparc x86 ~x86-fbsd ~x86-freebsd ~a md64-linux ~x86-linux ~ppc-macos"
15 17
16 DEPEND="app-arch/bzip2" 18 DEPEND="app-arch/bzip2"
17 RDEPEND="${DEPEND}" 19 RDEPEND="${DEPEND}"
18 20
19 src_unpack() { 21 src_prepare() {
20 » local third_party="${CHROMEOS_ROOT}/src/third_party" 22 » epatch ${FILESDIR}/4.3_bspatch-support-input-output-positioning.patch
21 » elog "Using third_party: $third_party"
22 » mkdir -p "${S}"
23 » cp -a "${third_party}/bsdiff/files"/* "${S}" || die
24 } 23 }
25 24
26 src_compile() { 25 src_compile() {
27 append-lfs-flags 26 append-lfs-flags
28 $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bsdiff bsdiff.c -lbz2 || die "failed compiling bsdiff" 27 $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bsdiff bsdiff.c -lbz2 || die "failed compiling bsdiff"
29 $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bspatch bspatch.c -lbz2 || die "fail ed compiling bspatch" 28 $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bspatch bspatch.c -lbz2 || die "fail ed compiling bspatch"
30 } 29 }
31 30
32 src_install() { 31 src_install() {
33 dobin bs{diff,patch} 32 dobin bs{diff,patch}
34 doman bs{diff,patch}.1 33 doman bs{diff,patch}.1
35 } 34 }
OLDNEW
« no previous file with comments | « no previous file | dev-util/bsdiff/files/4.3_bspatch-support-input-output-positioning.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698