|
Lines 4-10
Link Here
|
| 4 |
|
4 |
|
| 5 |
inherit eutils versionator |
5 |
inherit eutils versionator |
| 6 |
|
6 |
|
| 7 |
IUSE="" |
7 |
IUSE="diet static" |
| 8 |
|
8 |
|
| 9 |
DEB_P="${PN}_$(replace_version_separator 3 '-')" |
9 |
DEB_P="${PN}_$(replace_version_separator 3 '-')" |
| 10 |
MY_P2="${DEB_P%-*}" |
10 |
MY_P2="${DEB_P%-*}" |
|
Lines 29-34
Link Here
|
| 29 |
epatch ${WORKDIR}/${DEB_P}.diff |
29 |
epatch ${WORKDIR}/${DEB_P}.diff |
| 30 |
} |
30 |
} |
| 31 |
|
31 |
|
|
|
32 |
src_compile() { |
| 33 |
use diet && CC="diet ${CC}" |
| 34 |
use static && LDFLAGS="-static" && export LDFLAGS |
| 35 |
econf |
| 36 |
emake |
| 37 |
} |
| 38 |
|
| 32 |
src_install() { |
39 |
src_install() { |
| 33 |
exeinto /bin |
40 |
exeinto /bin |
| 34 |
newexe src/dash dash |
41 |
newexe src/dash dash |