Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55211 - Updated ebuild for latest bitkeeper
Summary: Updated ebuild for latest bitkeeper
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-25 20:22 UTC by Shannon Barber
Modified: 2004-06-28 13:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bitkeeper v3.2.1 ebuild (bitkeeper-3.2.1.ebuild,2.12 KB, text/plain)
2004-06-25 20:23 UTC, Shannon Barber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shannon Barber 2004-06-25 20:22:42 UTC
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/dev-util/bitkeeper/bitkeeper-3.0.4.ebuild,v 1.4 2004/02/22 22:31:56 agriffis Exp $

DESCRIPTION="The best configuration management system."
HOMEPAGE="http://www.bitkeeper.com/"
SRC_URI="amd64? (bk-${PV}-x86-glibc22-linux.bin )
	x86? ( bk-${PV}-x86-glibc23-linux.bin )
	ppc? ( bk-${PV}-powerpc-glibc21-linux.bin )
	sparc? ( bk-${PV}-sparc-glibc21-linux.bin )
	alpha? ( bk-${PV}-alpha-glibc22-linux.bin )
	arm? ( bk-${PV}-arm-glibc21-linux.bin )
	hppa? ( bk-${PV}-hppa-glibc22-linux.bin )
	ia64? ( bk-${PV}-ia64-glibc22-linux.bin )"

LICENSE="BKL"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha hppa -mips ia64 amd64"
IUSE="X"
RESTRICT="fetch"

DEPEND=""
RDEPEND="virtual/glibc
	>=dev-lang/tcl-8.3.4
	X? ( >=dev-lang/tk-8.3.4 )"

S=${WORKDIR}/bitkeeper

pkg_nofetch() {
	eerror "You need to perform the following steps to install this package:"
	eerror " - Sign up at ${HOMEPAGE}"
	eerror " - Check your email and visit the download location"
	eerror " - Download ${A} and place it in ${DISTDIR}"
	eerror " - emerge this package again"
	eerror "Run 'bk regression' to verify the installation. (Recommended)"
}

pkg_setup() {
	cd ${T}
	cp ${DISTDIR}/${A} .
	chmod 755 ${A}
}

src_unpack() {
	#Do nothing
	echo ''
}

src_install() {
	dodir /opt /usr/share/man/man1 /usr/bin
	echo P:${P}
	echo PV:${PV}
	
	TARGET=${D}/opt/bitkeeper
	rm -rf ${D}/opt/bitkeeper
	echo ${T}/${A} ${TARGET}
	export BK_NOLINKS=""
	${T}/${A} ${TARGET}

	prepman /opt/bitkeeper

	find opt/bitkeeper/man -iname 'bk-*' -printf '
		F=`echo %f|sed -e "s/bk-//"`
		rm -f %h/$F
		dohard /%h/%f /%h/$F
		dosym /%h/%f /usr/share/man/%P' >${T}/links.sh
	. ${T}/links.sh

	dosym /opt/bitkeeper/man/man1/bk.1.gz /usr/share/man/man1/bk.1.gz

	# mimic "bk links /opt/bitkeeper /usr/bin"
	dosym /opt/bitkeeper/admin /usr/bin/admin
	dosym /opt/bitkeeper/bk /usr/bin/bk
	dosym /opt/bitkeeper/delta /usr/bin/delta
	dosym /opt/bitkeeper/get /usr/bin/get
	dosym /opt/bitkeeper/prs /usr/bin/prs
	dosym /opt/bitkeeper/rmdel /usr/bin/rmdel
	dosym /opt/bitkeeper/unget /usr/bin/unget
}
Comment 1 Shannon Barber 2004-06-25 20:23:52 UTC
Created attachment 34178 [details]
bitkeeper v3.2.1 ebuild
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-06-28 13:22:51 UTC
3.2.2 is in cvs

thx