1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs vcs-snapshot
9 DESCRIPTION="An implementation of John Gruber's markdown in C"
10 HOMEPAGE="https://github.com/jgm/peg-markdown"
11 SRC_URI="https://github.com/jgm/${PN}/tarball/${PV} -> ${P}.tar.gz"
13 LICENSE="|| ( GPL-2 MIT )"
23 "${FILESDIR}/${P}-Makefile.patch" \
24 "${FILESDIR}/${P}-declare.patch"
28 emake CC="$(tc-getCC)"
34 dolib.so lib${PN}.so.${PV}
35 dosym lib${PN}.so.${PV} usr/lib/lib${PN}.so