the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: jdb
Version: 1.14
Revision: 1
Source: http://www.isi.edu/~johnh/SOFTWARE/JDB/%n-%v.tar.gz
Source-MD5: 72e65ba9c9feeded54a90bf95f5b143c
Maintainer: Lars Eggert
HomePage: http://www.isi.edu/~johnh/SOFTWARE/JDB/
License: GPL
Description: Manipulate ASCII databases from shell scripts
Depends: system-perl586, libwww-pm586
DocFiles: README LICENSE
PatchScript: <<
for f in `find . -type f -maxdepth 1`; do \
/usr/bin/sed -i '' -e 's|$dbbindir =.*|$dbbindir = "%p/bin";|' \
-e 's|$dblibdir =.*|$dblibdir = "%p/lib/%n";|' \
-e 's|/usr/local/bin/perl|/usr/bin/perl|' $f; \
done
cp COPYING LICENSE
<<
CompileScript: <<
<<
InstallScript: <<
mkdir -p %i/lib/%n %i/bin
cp DbGetopt.pm DbTDistr.pm dblib.pl release %i/lib/%n
for f in `find . -type f -maxdepth 1`; do \
case $f in \
./dblib.pl) continue;; \
./db[a-z0-9]*) chmod a+x $f && cp $f %i/bin;; \
./*_*) chmod a+x $f && cp $f %i/bin;; \
esac; \
done
<<
DescDetail: <<
JDB is a package of commands for manipulating flat-ASCII databases
from shell scripts. JDB is useful to process medium amounts of data
(with very little data you'd do it by hand, with megabytes you might
want a real database).
JDB is built on flat-ASCII databases. By storing data in simple text
files and processing it with pipelines it is easy to experiment (in
the shell) and look at the output. The original implementation of this
idea was /rdb, a commercial product described in the book "UNIX
relational database management: application development in the UNIX
environment" by Rod Manis, Evan Schaffer, and Robert Jorgensen.
<<