void-packages/srcpkgs/litecoin/template

28 lines
918 B
Bash

# Template file for 'litecoin'
pkgname=litecoin
version=0.14.2
revision=2
build_style=gnu-configure
configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static --disable-tests
--with-libressl"
hostmakedepends="automake libtool pkg-config yasm"
makedepends="zlib-devel db-devel libressl-devel boost-devel
qt5-tools-devel miniupnpc-devel protobuf-devel libevent-devel"
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.litecoin.org/"
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
checksum=953fd6cee2da3ed63779b2dbce8a775e76d7a926be3de5b906d40f6641a2b4d5
nocross=yes
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
rm -rf ${DESTDIR}/usr/include
vsconf contrib/debian/examples/bitcoin.conf
vman doc/man/litecoind.1 litecoind.1
vlicense COPYING
}