void-packages/srcpkgs/litecoin/template

32 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-04-26 12:50:18 +02:00
# Template file for 'litecoin'
pkgname=litecoin
2013-07-08 10:05:34 +02:00
version=0.6.9.2
revision=4
2013-04-26 12:50:18 +02:00
wrksrc="${pkgname}-${version}"
hostmakedepends="which"
makedepends="db-devel>=5.3 openssl-devel boost-devel>=1.53 automoc4 miniupnpc-devel"
2013-04-26 12:50:18 +02:00
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
maintainer="pancake <pancake@nopcode.org>"
license="MIT"
homepage="http://www.litecoin.org/"
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
2013-07-08 10:05:34 +02:00
checksum=5528ce2e6b4fd797128176743a14552d241b1ca61f742d6f96f199b02d494c08
2013-04-26 12:50:18 +02: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
}
litecoin_package() {
pkg_install() {
2013-05-09 16:26:34 +02:00
vmove all
2013-04-26 12:50:18 +02:00
}
}