void-packages/srcpkgs/litecoin/template

28 lines
937 B
Text
Raw Normal View History

2013-04-26 10:50:18 +00:00
# Template file for 'litecoin'
pkgname=litecoin
version=0.8.7.4
revision=1
2013-04-26 10:50:18 +00:00
wrksrc="${pkgname}-${version}"
hostmakedepends="git"
makedepends="zlib-devel db-devel>=5.3 libressl-devel boost-devel>=1.54 automoc4 miniupnpc-devel>=1.9"
2013-04-26 10:50:18 +00:00
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
2014-06-08 09:39:08 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
2013-04-26 10:50:18 +00:00
license="MIT"
2014-11-30 19:43:04 +00:00
update_site="https://github.com/litecoin-project/litecoin/tags"
update_pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'
2013-04-26 10:50:18 +00:00
homepage="http://www.litecoin.org/"
2013-10-29 10:44:29 +00:00
do_fetch() {
git clone -b v${version} git://github.com/litecoin-project/litecoin.git ${pkgname}-${version}
}
2013-04-26 10:50:18 +00:00
do_build() {
make ${makejobs} -f makefile.unix -C src CXXFLAGS="$CXXFLAGS" USE_UPNP=1
}
do_install() {
2014-07-15 15:04:01 +00:00
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
2014-07-15 15:04:01 +00:00
vlicense COPYING
2013-04-26 10:50:18 +00:00
}