vanitygen: pass our cflags; add missing build-deps; use vinstall.
This commit is contained in:
parent
2a6a069f7f
commit
8b60327ed7
1 changed files with 6 additions and 8 deletions
|
@ -1,11 +1,10 @@
|
|||
# Template file for 'vanitygen'
|
||||
pkgname=vanitygen
|
||||
version=0.21
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=makefile
|
||||
depends=""
|
||||
makedepends=""
|
||||
crossmakedepends=""
|
||||
makedepends="pcre-devel openssl-devel"
|
||||
crossmakedepends="${makedepends}"
|
||||
short_desc="Bitcoin vanity address generator"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
homepage="https://github.com/samr7/vanitygen"
|
||||
|
@ -14,11 +13,10 @@ distfiles="$homepage/archive/${version}.tar.gz"
|
|||
checksum=58c56e1ec51c654077ace5599d4f9dc512110e2150fe40a05380f948b305be7f
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
make CFLAGS="$CFLAGS" ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/bin
|
||||
cp -f vanitygen ${DESTDIR}/usr/bin
|
||||
cp -f keyconv ${DESTDIR}/usr/bin
|
||||
vinstall vanitygen 755 usr/bin
|
||||
vinstall keyconv 755 usr/bin
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue