void-packages/srcpkgs/litecoin/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

27 lines
996 B
Bash

# Template file for 'litecoin'
pkgname=litecoin
version=0.10.0.2
revision=2
wrksrc="${pkgname}-${version}"
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 libressl-devel boost-devel
qt5-tools-devel miniupnpc-devel protobuf-devel"
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.litecoin.org/"
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
checksum=1f7979003a83371cea28db446637b5691d2eeade91edb8869754ef588d9aed38
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
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
vlicense COPYING
}