To build without opencl-headers, run `makepkg --pkg vanitygen-git -Acs`
Search Criteria
Package Details: vanitygen-git 20121024-2
Package Actions
| Package Base: | vanitygen-git |
|---|---|
| Description: | Bitcoin vanity address generator written in C |
| Upstream URL: | https://github.com/samr7/vanitygen |
| Category: | system |
| Licenses: | |
| Submitter: | atweiden |
| Maintainer: | atweiden |
| Last Packager: | None |
| Votes: | 16 |
| First Submitted: | 2012-11-11 07:54 |
| Last Updated: | 2014-04-16 19:41 |
Latest Comments
Comment by atweiden
Comment by kbar
The parts of vanitygen that require opencl should be optional.
Comment by nous
Great. But you forgot to increment pkgrel... :p
Comment by atweiden
Implemented your changes. Thank you.
Comment by nous
Please, consider changing the PKGBUILD as follows (changed/new lines are marked with ">") to include the OpenCL-specific binaries in the package:
build() {
cd $_gitname
> sed -i s"|calc_addrs.cl|/usr/share/vanitygen/calc_addrs.cl|" oclengine.c
> make all
}
package() {
cd $_gitname
msg 'Installing executables...'
install -D -m755 vanitygen "${pkgdir}/usr/bin/vanitygen"
install -D -m755 keyconv "${pkgdir}/usr/bin/keyconv"
> install -D -m755 oclvanitygen "${pkgdir}/usr/bin/oclvanitygen"
> install -D -m755 oclvanityminer "${pkgdir}/usr/bin/oclvanityminer"
> msg 'Installing calc_addrs.cl (needed for oclvanitygen)...'
> install -D -m644 calc_addrs.cl "${pkgdir}/usr/share/vanitygen/calc_addrs.cl"
msg 'Cleaning up pkgdir...'
find "$pkgdir" -type d -name .git -exec rm -r '{}' +
}
Comment by npouillard
Since this is written in C the arch should not be 'any' but 'x86_64' and 'i686'.