void-packages/srcpkgs/freecdb/template

29 lines
931 B
Bash

# Template file for 'freecdb'
pkgname=freecdb
version=0.75
revision=2
build_style=gnu-makefile
short_desc="Creating and reading constant databases"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="Public Domain"
homepage="https://packages.debian.org/source/sid/freecdb"
distfiles="http://http.debian.net/debian/pool/main/f/${pkgname}/${pkgname}_${version}.tar.gz"
checksum=95214e485bd3ece2dc2a035e7bd25f080603f8f3b7a1ff329c1c67303700a0e3
alternatives="
cdb:cdbdump:/usr/bin/${pkgname}dump
cdb:cdbdump:/usr/share/man/man1/${pkgname}dump.1
cdb:cdbget:/usr/bin/${pkgname}get
cdb:cdbget:/usr/share/man/man1/${pkgname}get.1
cdb:cdbmake:/usr/bin/${pkgname}make
cdb:cdbmake:/usr/share/man/man1/${pkgname}make.1
cdb:cdbstats:/usr/bin/${pkgname}stats
cdb:cdbstats:/usr/share/man/man1/${pkgname}stats.1
"
do_install() {
for f in dump get make stats; do
vman cdb${f}.1 ${pkgname}${f}.1
vbin cdb${f} ${pkgname}${f}
done
}