void-packages/srcpkgs/litecoin/template

29 lines
965 B
Text
Raw Normal View History

2013-04-26 10:50:18 +00:00
# Template file for 'litecoin'
pkgname=litecoin
2014-05-05 16:50:42 +00:00
version=0.8.7.1
2014-06-08 09:39:08 +00:00
revision=2
2013-04-26 10:50:18 +00:00
wrksrc="${pkgname}-${version}"
hostmakedepends="which"
2013-10-29 10:44:29 +00:00
makedepends="db-devel>=5.3 openssl-devel boost-devel>=1.54 automoc4 miniupnpc-devel>=1.8"
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"
homepage="http://www.litecoin.org/"
2014-05-05 16:50:42 +00:00
only_for_archs="i686 x86_64"
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() {
vinstall src/litecoind 755 usr/bin
vinstall contrib/debian/examples/bitcoin.conf 644 usr/share/examples/$pkgname
vinstall contrib/debian/manpages/bitcoind.1 644 usr/share/man/man1/litecoind.1
vinstall contrib/debian/manpages/bitcoin.conf.5 644 usr/share/man/man5/litecoin.conf.5
vinstall COPYING 644 usr/share/licenses/$pkgname
}