Hi Riccardo,

> Am 06.05.2015 um 22:30 schrieb Riccardo Mottola <[email protected]>:
> 
> Hi,
> 
> On 05/05/15 19:11, Peter FELECAN wrote:
>> Riccardo Mottola <[email protected]> writes:
>> 
>>> perhaps I need to remove the file
>>> after the build stage or before the installation stage?
>> after the installation and before the merge
> 
> I suppose I need to try my luck in post-install:
> I am pretty sure this is the right place, but what directory should search 
> the files in? $(WRKSRC) is wrong, DESTDIR too

DESTDIR should be right, something like

post-install:
        rm -f $(DESTDIR)$(libdir)/libpng.so
        @$(MAKECOOKIE)

Reminder: configure and build take place inside $(WORKSRC), the installation is
done from $(WORKSRC) to $(DESTDIR), all the $(DESTDIR)s from all modulations
are merged together to $(PKGROOT) from where the package is made.


Best regards

  — Dago


-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to