1 |
Thomas Sachau kirjoitti: |
2 |
> I see, we have a default src_unpack and a default src_compile but a default src_install is still |
3 |
> missing. Here is my suggestion (taken and modified from bug 33544): |
4 |
> |
5 |
> src_install() { |
6 |
> if [ -f Makefile -o -f GNUmakefile -o -f makefile ]; then |
7 |
> emake DESTDIR=${D} install || die "emake install failed" |
8 |
> [[ -n ${DOCS} ]] && dodoc ${DOCS} |
9 |
> else |
10 |
> einstall || die "einstall failed" |
11 |
> [[ -n ${DOCS} ]] && dodoc ${DOCS} |
12 |
> fi |
13 |
> } |
14 |
> |
15 |
> Any comments? |
16 |
> |
17 |
|
18 |
einstall uses make so doesn't really make sense. |
19 |
|
20 |
Regards, |
21 |
Petteri |