Lines 2-10
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.37.ebuild,v 1.2 2012/08/11 16:06:53 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.37.ebuild,v 1.2 2012/08/11 16:06:53 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI="3" |
5 |
EAPI="5" |
6 |
|
6 |
|
7 |
inherit eutils flag-o-matic |
7 |
inherit eutils flag-o-matic toolchain-funcs |
8 |
|
8 |
|
9 |
if [[ ${PV} == *_p* ]] ; then |
9 |
if [[ ${PV} == *_p* ]] ; then |
10 |
DEB_DIFF=${PN}_${PV/_p/-} |
10 |
DEB_DIFF=${PN}_${PV/_p/-} |
Lines 42-50
Link Here
|
42 |
--docdir=/usr/share/doc/${PF} |
42 |
--docdir=/usr/share/doc/${PF} |
43 |
} |
43 |
} |
44 |
|
44 |
|
|
|
45 |
src_compile() { |
46 |
emake AR="$(tc-getAR)" |
47 |
} |
48 |
|
45 |
src_install() { |
49 |
src_install() { |
46 |
emake install DESTDIR="${D}" || die |
50 |
default |
47 |
rm "${D}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die |
51 |
rm "${D}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die |
48 |
dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO |
|
|
49 |
dosym flex /usr/bin/lex |
52 |
dosym flex /usr/bin/lex |
50 |
} |
53 |
} |