Lines 26-33
PATCHES=(
Link Here
|
26 |
"${FILESDIR}/${PN}-2.3.0-tests-nofetch.patch" |
26 |
"${FILESDIR}/${PN}-2.3.0-tests-nofetch.patch" |
27 |
) |
27 |
) |
28 |
|
28 |
|
|
|
29 |
src_configure() { |
30 |
einfo "Configuring ${P} ..." |
31 |
sed -e "/^CC[ ?]*=/s|[ ?]*=.*|=$(tc-getCC)|" \ |
32 |
-e "/^AR[ ?]*=/s|[ ?]*=.*|=$(tc-getAR)|" \ |
33 |
-e "/^prefix[ ?]*=/s|[ ?]*=.*|=${EPREFIX}/usr|" \ |
34 |
-e "/^libdir[ ?]*=/s|[ ?]*=.*|=${EPREFIX}/usr/$(get_libdir)|" \ |
35 |
-e "/^UDATA[ ?]*=/s|[ ?]*=|=${EPREFIX}|" \ |
36 |
-i {,bench/,data/}Makefile || die |
37 |
eend $? |
38 |
} |
39 |
|
29 |
src_install() { |
40 |
src_install() { |
30 |
emake DESTDIR="${D}" prefix=/usr libdir=/usr/$(get_libdir) install |
41 |
default |
31 |
# This package used to use netsurf's version as an upstream, which lives in |
42 |
# This package used to use netsurf's version as an upstream, which lives in |
32 |
# its own little world. Unlike julia's version, it puts its header file |
43 |
# its own little world. Unlike julia's version, it puts its header file |
33 |
# in libutf8proc/utf8proc.h instead of utf8proc.h. The problem is that |
44 |
# in libutf8proc/utf8proc.h instead of utf8proc.h. The problem is that |
34 |
- |
|
|