Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 28 May 2017, 16:29
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
[RELEASE] src2pkg-3.0 - create packages from source
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 4 [50 Posts]   Goto page: Previous 1, 2, 3, 4
Author Message
amigo

Joined: 02 Apr 2007
Posts: 2588

PostPosted: Sat 23 Jul 2016, 03:29    Post subject:  

You need this in the conf file:
Code:
[[ $ARCH ]] || ARCH="x86_64"
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 609

PostPosted: Sat 23 Jul 2016, 04:16    Post subject:  

amigo wrote:
You need this in the conf file:
Code:
[[ $ARCH ]] || ARCH="x86_64"


I haven't gone through this thread yet, but I presume that you would have to run the configure scripts before running this pet, in order to make sure that you have all the correct dependencies installed.

A good test for this package would be the ruby package since some environmental variables in ruby are hard coded at compile time.

The difficulty I had with making pets is that for some packages the compilation may depend on where you compile to, and this makes setting the prefix and then using dir2pet not a directly workable approach.
Back to top
View user's profile Send private message 
live

Joined: 10 Feb 2010
Posts: 220

PostPosted: Sat 23 Jul 2016, 07:33    Post subject:  

Thanks
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 822
Location: Staffordshire

PostPosted: Sat 23 Jul 2016, 08:15    Post subject:  

src2pkg will run configure. You can use your own options with:

Code:
src2pkg -e='--disable-something --with-summatelse' tarball-name
etc.

You can also create build-scripts with your options, so it is easily repeatable.

The documentation is well worth a read.
Back to top
View user's profile Send private message 
scsijon

Joined: 23 May 2007
Posts: 1206
Location: the australian mallee

PostPosted: Thu 09 Mar 2017, 00:52    Post subject:  

sorry amigo but v3.0 is failing with barryk's latest quirky 8.1.6, just junk in output package and things like wrong directories's etc. Wonder if it's because it's working from /file and not /root.

regards
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 4 of 4 [50 Posts]   Goto page: Previous 1, 2, 3, 4
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0611s ][ Queries: 14 (0.0141s) ][ GZIP on ]