OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> What Do You Do If There's No Destdir Option?
Capn_Fish
post May 5 2007, 07:04 PM
Post #1





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



How do you package an app up if "grep DESTDIR Makefile" returns nothing?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
danr
post May 5 2007, 11:25 PM
Post #2





Group: Members
Posts: 138
Joined: 12-February 04
Member No.: 1,830



QUOTE(Capn_Fish @ May 6 2007, 03:04 AM)
How do you package an app up if "grep DESTDIR Makefile" returns nothing?
*

You could search the Makefile for 'prefix' or '/usr', and change to $PWD/ipkg/usr or something similar.
Go to the top of the page
 
+Quote Post
Capn_Fish
post May 6 2007, 06:50 AM
Post #3





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



QUOTE(danr @ May 6 2007, 02:25 AM)
QUOTE(Capn_Fish @ May 6 2007, 03:04 AM)
How do you package an app up if "grep DESTDIR Makefile" returns nothing?
*

You could search the Makefile for 'prefix' or '/usr', and change to $PWD/ipkg/usr or something similar.
*


Doesn't that lead to issues apon installation on the ipk?
Go to the top of the page
 
+Quote Post
danr
post May 6 2007, 09:03 AM
Post #4





Group: Members
Posts: 138
Joined: 12-February 04
Member No.: 1,830



QUOTE(Capn_Fish @ May 6 2007, 02:50 PM)
QUOTE(danr @ May 6 2007, 02:25 AM)
QUOTE(Capn_Fish @ May 6 2007, 03:04 AM)
How do you package an app up if "grep DESTDIR Makefile" returns nothing?
*

You could search the Makefile for 'prefix' or '/usr', and change to $PWD/ipkg/usr or something similar.
*


Doesn't that lead to issues apon installation on the ipk?
*



It might do - you could give it a go. Otherwise, you might be able to do a make install -n > script.sh, and replace all instances of /usr with $PWD/ipkg/usr in script.sh, then execute the script.
Go to the top of the page
 
+Quote Post
Capn_Fish
post May 6 2007, 09:51 AM
Post #5





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



QUOTE(danr @ May 6 2007, 12:03 PM)
QUOTE(Capn_Fish @ May 6 2007, 02:50 PM)
QUOTE(danr @ May 6 2007, 02:25 AM)
QUOTE(Capn_Fish @ May 6 2007, 03:04 AM)
How do you package an app up if "grep DESTDIR Makefile" returns nothing?
*

You could search the Makefile for 'prefix' or '/usr', and change to $PWD/ipkg/usr or something similar.
*


Doesn't that lead to issues apon installation on the ipk?
*



It might do - you could give it a go. Otherwise, you might be able to do a make install -n > script.sh, and replace all instances of /usr with $PWD/ipkg/usr in script.sh, then execute the script.
*


The script method doesn't seem to work, so I'm going to give the Makefile method a try. Do I need to edit all of the makefiles, or just one? Is there a good way to group edit the makefiles?

Thanks.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 11:11 PM