bk: update to 7.3ce.

This commit is contained in:
Christian Neukirchen 2016-07-14 19:21:35 +02:00
parent c3bdf605e6
commit 76de4dcf54
1 changed files with 11 additions and 9 deletions

View File

@ -1,20 +1,18 @@
# Template file for 'bitkeeper'
pkgname=bk
version=7.2.1ce
version=7.3ce
revision=1
build_wrksrc="src"
hostmakedepends="gperf groff perl bison pkg-config"
makedepends="libXft-devel"
# bundles: tcl tk pcre libtommath
makedepends="libXft-devel libtomcrypt-devel libtommath-devel pcre-devel lz4-devel"
# bundles: tcl tk
short_desc="BitKeeper Distributed Source Control System"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Apache-2.0"
homepage="https://www.bitkeeper.org/"
distfiles="https://www.bitkeeper.org/downloads/${version}/${pkgname}-${version}.src.tar.gz"
checksum=f04f88064d67f170bf936cb547ecb9568d7e28a43094e555f2a649df25e76fcd
distfiles="https://www.bitkeeper.org/downloads/${version}/${pkgname}-${version}.tar.gz"
checksum=13249636f4b5b39f1d64b9f6bf682ee2dce53db17cdd8aa4cd9019e65252cabb
# Needs reworking of the build system.
nopie=yes
nocross=yes
post_extract() {
@ -26,12 +24,16 @@ do_build() {
make ${makejobs} \
CC="$CC" CXX="$CXX" LD="$CC" RANLIB="$RANLIB" \
CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" CFLAGS="$CFLAGS" \
LDFLAGS="$LDFLAGS" Q=
LDFLAGS="$CFLAGS $LDFLAGS" Q=
}
do_install() {
# Upstream recommended site-wide location.
make install BINDIR=${DESTDIR}/usr/libexec/bitkeeper
make install DESTDIR=${DESTDIR} BINDIR=/usr/libexec/bitkeeper
vmkdir usr/bin
ln -sf /usr/libexec/bitkeeper/bk ${DESTDIR}/usr/bin/bk
vlicense LICENSE
vlicense LICENSE.extras.md
vlicense NOTICE
}