void-packages/srcpkgs/cdb/template
2016-02-23 16:35:56 +01:00

28 lines
761 B
Bash

# Template file for 'cdb'
pkgname=cdb
version=0.75
revision=3
build_style=gnu-makefile
short_desc="CDB utilities"
maintainer="Lain <lain@waifu.club>"
license="Public domain"
homepage="http://cr.yp.to/cdb.html"
distfiles="http://cr.yp.to/cdb/cdb-${version}.tar.gz"
checksum="1919577799a50c080a8a05a1cbfa5fa7e7abc823d8d7df2eeb181e624b7952c5"
alternatives="
cdb:cdbdump:/usr/bin/cdb-dump
cdb:cdbdump:/usr/share/man/man1/cdb-dump.1
cdb:cdbget:/usr/bin/cdb-get
cdb:cdbget:/usr/share/man/man1/cdb-get.1
cdb:cdbmake:/usr/bin/cdb-make
cdb:cdbmake:/usr/share/man/man1/cdb-make.1
cdb:cdbstats:/usr/bin/cdb-stats
cdb:cdbstats:/usr/share/man/man1/cdb-stats.1
"
do_install() {
for f in dump get make stats test make-12 make-sv; do
vbin cdb${f} cdb-${f}
done
}