OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: omin0us on December 07, 2003, 10:04:52 pm

Title: how do i make an ipk?
Post by: omin0us on December 07, 2003, 10:04:52 pm
I am going to package up Fluxbox tonight for the X11 based rom for c7x0 series, but since docs.zaurus.com is down, i can\'t view the ipkg howto. Anyone happen to have this mirrored? or mabey can write a quick tutorial. I\'m pretty sure i know how to make the data.tar.gz but i don\'t know what needs to be in control.tar.gz or debian-binary, Thanks for the help in advance.

regards,
omin0us
Title: how do i make an ipk?
Post by: zenyatta on December 08, 2003, 04:17:41 am
erm... I don\'t have the guide around either but you could try

tar zxf any_existing.ipk
cat debian-binary
tar zxf control.tar.gz
cat control

(the first command may be \"ar xf whatever.ipk\" in some cases). Copy debian-binary verbatim and use the control file for inspiration when writing your own...

When I build an ipk by hand this is basically what I do (assuming $APPDIR contains my files in directories mirroring the Z (opt/QtPalmtop/bin, opt/QtPalmtop/pics etc.)):

cd $APPDIR
tar zcf data.tar.gz opt
vi control
tar zcf control.tar.gz control
cp /wherever_i_keep/debian-binary .
tar zcf my.ipk debian-binary control.tar.gz data.tar.gz

There is also a thing called ipkg-build which I\'ve downloaded but haven\'t gotten around to using yet   May be worth checking out.

z.
Title: how do i make an ipk?
Post by: tumnus on December 08, 2003, 04:56:09 am
All the stuff at docs.zaurus.com got copied over to the ZUG howtos by offroadgeek a while ago.

Specifically, the IPK howto is here:

http://www.zaurususergroup.com/modules.php...me=IPKG%20Howto (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=IPKG%20Howto)