void-packages/srcpkgs/freecdb/template
2016-08-15 12:13:38 -04:00

29 lines
939 B
Bash

# Template file for 'freecdb'
pkgname=freecdb
version=0.75
revision=3
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.1:/usr/share/man/man1/${pkgname}dump.1
cdb:cdbget:/usr/bin/${pkgname}get
cdb:cdbget.1:/usr/share/man/man1/${pkgname}get.1
cdb:cdbmake:/usr/bin/${pkgname}make
cdb:cdbmake.1:/usr/share/man/man1/${pkgname}make.1
cdb:cdbstats:/usr/bin/${pkgname}stats
cdb:cdbstats.1:/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
}