1 |
Donnie Berkholz wrote: |
2 |
>> 1.1 www-servers/resin/resin-3.1.4.ebuild |
3 |
>> src_unpack() { |
4 |
>> |
5 |
>> unpack ${A} |
6 |
>> for i in "${WORKDIR}"/${PV}/resin-${PV}-*; do |
7 |
>> epatch "${i}" |
8 |
>> done; |
9 |
> |
10 |
> How about: |
11 |
> |
12 |
> epatch "${WORKDIR}"/${PV}/resin-${PV}-* |
13 |
|
14 |
Leftover from tests, will be fixed with next bump. |
15 |
|
16 |
>> src_compile() { |
17 |
>> |
18 |
>> append-flags -fPIC -DPIC |
19 |
> |
20 |
> Somehow it seems wrong to append this for a whole package... |
21 |
|
22 |
It builds only one .so library - the rest is in Java, so I don't see a problem |
23 |
with using append-flags. |
24 |
|
25 |
>> src_install() { |
26 |
>> |
27 |
>> make DESTDIR="${D}" install || die |
28 |
> |
29 |
> Does emake work? If not, please add a comment to that effect. |
30 |
|
31 |
Didn't test, but I will with next bump. |
32 |
|
33 |
>> einfo "Fixing permissions..." |
34 |
>> chown -R resin:resin "${D}${RESIN_HOME}" |
35 |
>> chown -R resin:resin "${D}/etc/resin" |
36 |
>> chown -R resin:resin "${D}/var/log/resin" |
37 |
>> chown -R resin:resin "${D}/var/lib/resin" |
38 |
>> chown -R resin:resin "${D}/var/run/resin" |
39 |
>> |
40 |
>> chmod 644 "${D}/etc/conf.d/resin" |
41 |
>> chmod 755 "${D}/etc/init.d/resin" |
42 |
>> chmod 750 "${D}/var/lib/resin" |
43 |
>> chmod 750 "${D}/var/run/resin" |
44 |
>> chmod 750 "${D}/etc/resin" |
45 |
> |
46 |
> Again, fowners/fperms can make this a bit easier to read. |
47 |
|
48 |
I'll fix it with next bump. |
49 |
|
50 |
-- |
51 |
Krzysiek Pawlik <nelchael at gentoo.org> key id: 0xBC555551 |
52 |
desktop-misc, java, apache, ppc, vim, kernel... |