void-packages/srcpkgs/freecdb/template

30 lines
939 B
Bash
Raw Normal View History

2016-02-22 22:11:43 +01:00
# Template file for 'freecdb'
pkgname=freecdb
version=0.75
2016-08-15 18:13:04 +02:00
revision=3
2016-02-22 22:11:43 +01:00
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
2016-08-15 18:13:04 +02:00
cdb:cdbdump.1:/usr/share/man/man1/${pkgname}dump.1
cdb:cdbget:/usr/bin/${pkgname}get
2016-08-15 18:13:04 +02:00
cdb:cdbget.1:/usr/share/man/man1/${pkgname}get.1
cdb:cdbmake:/usr/bin/${pkgname}make
2016-08-15 18:13:04 +02:00
cdb:cdbmake.1:/usr/share/man/man1/${pkgname}make.1
cdb:cdbstats:/usr/bin/${pkgname}stats
2016-08-15 18:13:04 +02:00
cdb:cdbstats.1:/usr/share/man/man1/${pkgname}stats.1
"
2016-02-22 22:11:43 +01:00
do_install() {
for f in dump get make stats; do
vman cdb${f}.1 ${pkgname}${f}.1
vbin cdb${f} ${pkgname}${f}
done
2016-02-22 22:11:43 +01:00
}