void-packages/srcpkgs/litecoin/template
2015-01-15 11:17:29 +00:00

25 lines
831 B
Text

# Template file for 'litecoin'
pkgname=litecoin
version=0.8.7.4
revision=2
wrksrc="${pkgname}-${version}"
hostmakedepends="git"
makedepends="zlib-devel db-devel>=5.3 libressl-devel>=2.1.2 boost-devel>=1.54 automoc4 miniupnpc-devel>=1.9"
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.litecoin.org/"
do_fetch() {
git clone -b v${version} git://github.com/litecoin-project/litecoin.git ${pkgname}-${version}
}
do_build() {
make ${makejobs} -f makefile.unix -C src CXXFLAGS="$CXXFLAGS" USE_UPNP=1
}
do_install() {
vbin src/litecoind
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
}