76b01a8b21
Disc-Cover creates front and back covers for audio CDs. The CD has to be present in the CD-ROM drive, or alternatively a valid CDDB file can be used. Disc-Cover searches the CDDB database for an entry corresponding to the CD's CDDB ID. It starts by looking for a local CDDB entry in ~/.cddb (or another directory pointed to by your cddb installation). If no local CDDB entry matches the CD, disc-cover continues to search the online CDDB databases or CDINDEX databases as configured in the AudioCD library. It then formats the entry to produce a Latex, Dvi, Postscript or PDF file, which contains the front and back covers on a single page. Other formats supported include a simple text output, a CDDB compatible format, HTML and an output format that can be used with cdlabelgen (http://www.red-bean.com/~bwf/software/cdlabelgen/), another cover builder. WWW: http://www.liacs.nl/~jvhemert/disc-cover MAINTAINER= Nikolay Sturm <Nikolay.Sturm@desy.de>
48 lines
927 B
Plaintext
48 lines
927 B
Plaintext
#!/bin/sh
|
|
# $OpenBSD: INSTALL,v 1.1.1.1 2001/08/16 21:56:35 pvalchev Exp $
|
|
#
|
|
|
|
# exit on errors, use a sane path and install prefix
|
|
#
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
|
|
do_install()
|
|
{
|
|
echo
|
|
echo "+---------------"
|
|
echo "| To use disc-cover, one has to create ~/.cdserverrc by running"
|
|
echo "|"
|
|
echo "| $PREFIX/bin/disc-cover -S"
|
|
echo "|"
|
|
echo "| if it does not already exist, and probably change the SERVER"
|
|
echo "| variable when editing this file."
|
|
echo "+---------------"
|
|
echo
|
|
}
|
|
|
|
# verify proper execution
|
|
#
|
|
if [ $# -ne 2 ]; then
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Verify/process the command
|
|
#
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
: nothing to pre-install for this port
|
|
;;
|
|
POST-INSTALL)
|
|
do_install $1
|
|
;;
|
|
*)
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|