You are not logged in.

#1 2005-01-13 15:46:55

Olli
Member
Registered: 2004-04-01
Posts: 57

qmake and prefixes

Hey all,

I've been asking myself the following question, sometimes when compiling qt based software I have to use qmake to create a makefile. In the *.pro files there are things like the prefixes etc, but how can I make it so that I can create packages with an alternative path than what the *.pro file states.

For now I make a diff or do a file/search replace job on the *.pro file, but I'm sure there must be an easier way.


DIY: Doom-It-Yourself

Offline

#2 2005-10-13 17:24:38

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: qmake and prefixes

Yes that´s an interesting question. I´d also need to know this.

So far I´ve only found one PKGBUILD for mythtv. But that way won´t work for klear. Whether the --extrapath=/opt/kde/include nor the prefix is taken. Hm.

Offline

#3 2005-10-13 17:31:56

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: qmake and prefixes

read the make file it should list variable for the destination e.g BINDIR
LIBDIR and various others, take a look at the twind PKGBUILD in the aur..

you can specify it on the install line e.g

make BINDIR=$startdir/pkg/usr/bin LIBDIR=$startdir/pkg/usr/lib install

Offline

Board footer

Powered by FluxBB