ledger: don't use git for fetching utfcpp dependency

This commit is contained in:
Dominik Honnef 2015-07-23 08:58:32 +02:00
parent 72d3d8b982
commit 5cf4ea74d4

View file

@ -4,16 +4,19 @@ version=3.1
revision=2
build_style=cmake
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="cmake git"
hostmakedepends="cmake"
makedepends="boost-devel gmp-devel mpfr-devel gettext-devel libedit-devel"
license="BSD"
homepage="http://www.ledger-cli.org/"
short_desc="A powerful, double-entry accounting system that is accessed from the UNIX command-line"
distfiles="https://github.com/ledger/${pkgname}/archive/v${version}.tar.gz"
checksum=eeb5d260729834923fc94822bcc54ca3080c434f81466a3f5dc4274b357ce694
distfiles="https://github.com/ledger/${pkgname}/archive/v${version}.tar.gz
https://github.com/ledger/utfcpp/archive/2233ec933f5661c7050b94d3b14f5f9f51ae3d55.tar.gz"
checksum="eeb5d260729834923fc94822bcc54ca3080c434f81466a3f5dc4274b357ce694
ef26b00a6eef5a46c810faab66ca1bf0864f7d908d8fb152b8bd821b80ec4e75"
pre_configure() {
git clone --depth=1 https://github.com/ledger/utfcpp.git lib/utfcpp
rmdir lib/utfcpp
ln -s ${XBPS_BUILDDIR}/utfcpp-2233ec933f5661c7050b94d3b14f5f9f51ae3d55 lib/utfcpp
}
post_install() {