Application Packaging

From MobileRead

Jump to: navigation, search

How to setup an installation package for the iLiad

Contents

ipkg

ipkg is the package manager used on the Iliad. Might be the right way to install software on it...

Installation

You don't need a copy of ipkg to create packages, but it might be of help. I installed a local copy on my Ubuntu 8.10 by fetching recent sources: http://www.handhelds.org/download/packages/ipkg/ipkg-0.99.163.tar.gz

after unpacking:

./configure
make
sudo make install

Making packages

This looks like a good start: http://www.handhelds.org/moin/moin.cgi/BuildingIpkgs

Structure of package files

An ipk file is an archive file with 3 files in it. Examlple:

ar x foo.ipk
--> foo.ipk control.tar.gz  data.tar.gz  debian-binary
  • control.tar.gz: contains pre- and postinstall scripts
  • data.tar.gz: contains the files to be installed
  • debian-binary: contains the text '2.0' and a newline ("\n")

More info can be founde here: http://www.bitsum.com/creating_ipk_packages.htm

Personal tools
MobileRead Networks