Bug: https://bugs.gentoo.org/685266
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
"${FILESDIR}/${PN}-2.3.0-tests-nofetch.patch"
)
+_emake() {
+ emake CC=$(tc-getCC) AR=$(tc-getAR) $@
+}
+
src_compile() {
- emake CC=$(tc-getCC) AR=$(tc-getAR)
+ _emake
}
src_install() {
- emake DESTDIR="${D}" \
+ _emake DESTDIR="${D}" \
prefix="${EPREFIX}/usr" \
libdir="${EPREFIX}/usr/$(get_libdir)" \
install
dodir /usr/include/libutf8proc
dosym ../utf8proc.h /usr/include/libutf8proc/utf8proc.h
}
+
+src_test() {
+ _emake check
+}