# Distributed under the terms of the GNU General Public License, v2 or later # Author Frédéric Brin , Jonas Berlin A="pccts133mr.zip" S=${WORKDIR}/pccts DESCRIPTION="An embedded C++ parser" SRC_URI="http://www.polhode.com/pccts133mr.zip" HOMEPAGE="http://www.polhode.com/" DEPEND="" src_compile() { # fix genmk to know where we are patch support/genmk/genmk.c < static char *pccts_path="/usr/share/pccts"; EOF # make.. try make } src_install() { # main binaries exeinto /usr/share/pccts/bin doexe bin/* # main includes insinto /usr/share/pccts/include doins h/* # sorcerer includes insinto /usr/share/pccts/sorcerer/include doins sorcerer/h/* # sorcerer libraries insinto /usr/share/pccts/sorcerer/lib doins sorcerer/lib/* # documentation dodoc CHANGES* KNOWN_PROBLEMS* MPW_Read_Me README RIGHTS history.txt newdoc sorcerer/UPDATES sorcerer-UPDATES newdoc sorcerer/README sorcerer-README # manual pages doman dlg/dlg.1 antlr/antlr.1 }