From 8ee1c70b903268f85a0d262be25725efd67c4f3d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 8 Feb 2015 09:49:48 +0100 Subject: [PATCH] litecoin: update to 0.10.0.2. --- srcpkgs/litecoin/template | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/srcpkgs/litecoin/template b/srcpkgs/litecoin/template index c21202566ee..9b4a81cb03e 100644 --- a/srcpkgs/litecoin/template +++ b/srcpkgs/litecoin/template @@ -1,23 +1,25 @@ # Template file for 'litecoin' pkgname=litecoin -version=0.8.7.5 -revision=3 +version=0.10.0.2 +revision=1 wrksrc="${pkgname}-${version}" -hostmakedepends="git" -makedepends="zlib-devel db-devel>=5.3 libressl-devel>=2.1.3 boost-devel>=1.54 automoc4 miniupnpc-devel>=1.9" +build_style=gnu-configure +configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static --disable-tests" +hostmakedepends="automake libtool pkg-config yasm" +makedepends="zlib-devel db-devel>=5.3 libressl-devel>=2.1.3 boost-devel>=1.54 + qt5-tools-devel miniupnpc-devel>=1.9 protobuf-devel" short_desc="Peer-to-peer Internet currency based on scrypt cryptography" maintainer="Juan RP " license="MIT" homepage="http://www.litecoin.org/" +distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz" +checksum=1f7979003a83371cea28db446637b5691d2eeade91edb8869754ef588d9aed38 -do_fetch() { - git clone -b v${version} git://github.com/litecoin-project/litecoin.git ${pkgname}-${version} +pre_configure() { + NOCONFIGURE=1 ./autogen.sh } -do_build() { - make ${makejobs} -f makefile.unix -C src CXXFLAGS="$CXXFLAGS" USE_UPNP=1 -} -do_install() { - vbin src/litecoind +post_install() { + rm -rf ${DESTDIR}/usr/include vsconf contrib/debian/examples/bitcoin.conf vman contrib/debian/manpages/bitcoind.1 litecoin-bitcoind.1 vman contrib/debian/manpages/bitcoin.conf.5 litecoin-bitcoin.conf.5