2016-02-14 10:53:38 +00:00
|
|
|
# Template file for 'cdb'
|
|
|
|
pkgname=cdb
|
|
|
|
version=0.75
|
2016-08-15 16:12:41 +00:00
|
|
|
revision=4
|
2016-02-14 10:53:38 +00:00
|
|
|
build_style=gnu-makefile
|
2016-08-15 16:12:41 +00:00
|
|
|
short_desc="Constant database utilities"
|
2016-02-14 10:53:38 +00:00
|
|
|
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"
|
2016-02-23 15:34:34 +00:00
|
|
|
|
|
|
|
alternatives="
|
|
|
|
cdb:cdbdump:/usr/bin/cdb-dump
|
|
|
|
cdb:cdbget:/usr/bin/cdb-get
|
|
|
|
cdb:cdbmake:/usr/bin/cdb-make
|
|
|
|
cdb:cdbstats:/usr/bin/cdb-stats
|
|
|
|
"
|
2016-02-14 10:53:38 +00:00
|
|
|
|
2016-08-15 16:12:41 +00:00
|
|
|
do_configure() {
|
|
|
|
echo /usr >conf-home
|
|
|
|
}
|
2016-02-14 10:53:38 +00:00
|
|
|
do_install() {
|
2016-02-23 15:34:34 +00:00
|
|
|
for f in dump get make stats test make-12 make-sv; do
|
|
|
|
vbin cdb${f} cdb-${f}
|
|
|
|
done
|
2016-02-14 10:53:38 +00:00
|
|
|
}
|