32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'litecoin'
|
|
pkgname=litecoin
|
|
version=0.16.2
|
|
revision=1
|
|
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="libatomic-devel 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=40e5f7d6574e46081f7fc67f0788db0fe2eec067328d484f0df6369310d1ab54
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools protobuf"
|
|
configure_args+=" --with-boost=${XBPS_CROSS_BASE}"
|
|
fi
|
|
|
|
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
|
|
}
|