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'
|
# Template file for 'vanitygen'
|
||||||
pkgname=vanitygen
|
pkgname=vanitygen
|
||||||
version=0.21
|
version=0.21
|
||||||
revision=1
|
revision=2
|
||||||
build_style=makefile
|
build_style=makefile
|
||||||
depends=""
|
makedepends="pcre-devel openssl-devel"
|
||||||
makedepends=""
|
crossmakedepends="${makedepends}"
|
||||||
crossmakedepends=""
|
|
||||||
short_desc="Bitcoin vanity address generator"
|
short_desc="Bitcoin vanity address generator"
|
||||||
maintainer="pancake <pancake@nopcode.org>"
|
maintainer="pancake <pancake@nopcode.org>"
|
||||||
homepage="https://github.com/samr7/vanitygen"
|
homepage="https://github.com/samr7/vanitygen"
|
||||||
|
@ -14,11 +13,10 @@ distfiles="$homepage/archive/${version}.tar.gz"
|
||||||
checksum=58c56e1ec51c654077ace5599d4f9dc512110e2150fe40a05380f948b305be7f
|
checksum=58c56e1ec51c654077ace5599d4f9dc512110e2150fe40a05380f948b305be7f
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make CFLAGS="$CFLAGS" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/bin
|
vinstall vanitygen 755 usr/bin
|
||||||
cp -f vanitygen ${DESTDIR}/usr/bin
|
vinstall keyconv 755 usr/bin
|
||||||
cp -f keyconv ${DESTDIR}/usr/bin
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue