aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: 2e624c079aea31c5d791c702cc2c598049e025c3 (plain)
1
2
3
4
5
# $Id$
# $URL$

Sorry, there is no README anymore.
Go to http://lcd4linux.bulix.org for all the documentation.
r: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/sh
#
# ipkg build script for wavemon
#
# Extracted from a former Makefile target by Dave W. Capella
#
# However I could not reach that person, hence $maintainer is commented out.
# Send any updates / suggestions to gerrit@erg.abdn.ac.uk.

# CONFIGURATION
#maintainer="dave w capella <dave.capella@cornell.edu>"	# email address outdated
version="0.5"

build_dir="./ipkg"
ctl_dir="${build_dir}/CONTROL"
bin_dir="${build_dir}/usr/local/bin"
doc_dir="${build_dir}/usr/doc/wavemon"
men_dir="${build_dir}/usr/lib/menu"

set -e

# 'clean' option
case "$1" in
	clean|CLEAN) rm -vfr $build_dir; exit 0;
esac


# Build directories
for dir in $ctl_dir $bin_dir $doc_dir $men_dir
do
	test -d $dir || mkdir -vp $dir
done


# Binary
test -f ../wavemon || exec echo "Run 'make' first to build wavemon"
cp  -vp ../wavemon ${bin_dir}


# Documentation
for ipaq_doc in  ../AUTHORS ../COPYING ../Makefile ../README
do
	cp -vp ${ipaq_doc} ${doc_dir}
done

groff -Tascii -man ../wavemon.1   > ${doc_dir}/wavemon.doc
groff -Tascii -man ../wavemonrc.5 > ${doc_dir}/wavemonrc.doc


# Menu
cat > ${men_dir}/wavemon <<EO_MENU
?package(wavemon): needs="text" section="Utilities" title="wavemon" command="wavemon"
EO_MENU


# Control
cat > ${ctl_dir}/control <<EO_CONTROL
Package: wavemon
Version: $version
Architecture: arm
Maintainer: ${maintainer:-unknown}
Description: Wireless network monitoring tool
Priority: optional
Section: extras
EO_CONTROL

# Build
ipkg-build ${build_dir}