Author Topic: how do i make an ipk?  (Read 2424 times)

omin0us

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
how do i make an ipk?
« 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
pdaXrom Developer team member - http://www.pdaxrom.org
c760/X11 based ROM, sl-5500/OZ 3.3.5
Ambicom WL1100C-1 WiFi card, Targus CF 56k Modem.
Ericsson T610 phone. (still need a BT card though)
FreeBSD 4.8/Slackware 9.1

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
how do i make an ipk?
« Reply #1 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.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
how do i make an ipk?
« Reply #2 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
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender