summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libutf8proc')
-rw-r--r--dev-libs/libutf8proc/libutf8proc-2.3.0-r1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-libs/libutf8proc/libutf8proc-2.3.0-r1.ebuild b/dev-libs/libutf8proc/libutf8proc-2.3.0-r1.ebuild
index 3d5231b82df9..eae095d0a26d 100644
--- a/dev-libs/libutf8proc/libutf8proc-2.3.0-r1.ebuild
+++ b/dev-libs/libutf8proc/libutf8proc-2.3.0-r1.ebuild
@@ -26,12 +26,16 @@ PATCHES=(
"${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
@@ -43,3 +47,7 @@ src_install() {
dodir /usr/include/libutf8proc
dosym ../utf8proc.h /usr/include/libutf8proc/utf8proc.h
}
+
+src_test() {
+ _emake check
+}