blob: 46013a1da1ad76d4f13a0732bce56dd9fa6e9f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bazaar/bazaar-1.4.2.ebuild,v 1.3 2007/06/04 23:07:51 marienz Exp $
inherit eutils
S="${WORKDIR}/${P}/src/=build"
DESCRIPTION="Bazaar is a user-interface branch of tla (GNU Arch)."
SRC_URI="http://bazaar.canonical.com/releases/src/bazaar_${PV}.tar.gz
http://dev.gentoo.org/~arj/baz.1.4.gz"
HOMEPAGE="http://bazaar-vcs.org/Baz1x"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
DIR="thelove@canonical.com---dists--bazaar--1.4"
DEPEND="sys-apps/coreutils
sys-apps/diffutils
sys-devel/patch
sys-apps/findutils
sys-apps/gawk
app-arch/tar
sys-apps/util-linux
sys-apps/debianutils
sys-devel/make
>=net-misc/neon-0.24.7
>=app-crypt/gpgme-1.0.2"
src_unpack() {
unpack bazaar_${PV}.tar.gz
unpack baz.1.4.gz
mv ${DIR} ${P}
mkdir "${P}/src/=build"
cd ${P}
# baz annotate does the same thing as this binary
rm -rf src/baz/annotate
epatch ${FILESDIR}/baz-gpgme-fix.patch
epatch ${FILESDIR}/neon-0.24-fix.patch
}
src_compile() {
../configure \
--prefix="/usr" \
--with-posix-shell="/bin/bash" || die "configure failed"
# parallel make may cause problems with this package
make || die "make failed"
}
src_install () {
make install prefix="${D}/usr" \
|| die "make install failed"
cd ${WORKDIR}/${P}/
dodoc =ARCH-USERS-README
cd ${WORKDIR}/${P}/src
dodoc COPYING
dodoc baz/=THANKS
cd ${WORKDIR}
doman baz.1
}
pkg_postinst() {
einfo 'This package installs the "baz" utility. If you are looking for'
einfo 'the "bzr" utility, use "emerge bzr".'
}
|