1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="An implementation of John Gruber's Markdown text to html language written in C"
8 HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
9 SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
17 # for QA, we remove the Makefiles usage of install -s
18 sed -e '/INSTALL_PROGRAM/s#-s ##' -i configure.inc \
19 || die "sed can't fix stripping of files"
24 use minimal || myconf="--enable-all-features"
26 ./configure.sh "${myconf}" \
28 --mandir=/usr/share/man \
34 use minimal && myinstall="install" || myinstall="install.everything"
35 emake DESTDIR="${D}" ${myinstall}