From 76de4dcf548c84c16e71cca10d225095a94607bf Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 14 Jul 2016 19:21:35 +0200 Subject: [PATCH] bk: update to 7.3ce. --- srcpkgs/bk/template | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/srcpkgs/bk/template b/srcpkgs/bk/template index 55703f7d860..3802a1c3415 100644 --- a/srcpkgs/bk/template +++ b/srcpkgs/bk/template @@ -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 " 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 }