OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => OpenZaurus/Opie/Qtopia => Topic started by: acpkendo on November 05, 2004, 02:16:38 pm

Title: Creation of ipk's
Post by: acpkendo on November 05, 2004, 02:16:38 pm
I've been trying to re-package a couple of app's for Sharp ROM's that they might install nicely in OZ.  However, I keep getting the same error, namely:

Code: [Select]
Cannot find package libsl_3.10-r0_arm.ipk
...
An error occurred, return value: 4.

I've been told in the past this is due to a mis-formatted control file.  Mine is as follows:

Code: [Select]
Package: libsl
Source:
Version: 3.10
Depends: oz-compat
Section: base
Priority: optional
Maintainer: Sharp
Architecture: arm
Description: Proprietary Sharp library for the SL series

I tried to follow the format of other OZ packages.  The data is in data.tar.gz (the libsl.so and links to it are in /opt/QtPalmtop/lib/), and I have a debian-binary file with "2.0" and a return.

Can someone let me know what I'm doing wrong, or point me to some documentation on this?  TIA. . .
Title: Creation of ipk's
Post by: Mickeyl on November 05, 2004, 02:35:49 pm
I would recommend letting OE package the ipks. You can even do this with binary only stuff. See how we package e.g. sharp-sdmmc-support in OE.
Title: Creation of ipk's
Post by: lpotter on November 07, 2004, 02:29:40 pm
in the ipkg sources, there is a utility named ipkg-build, which will tell you what is needed/wrong with the control file.
Title: Creation of ipk's
Post by: zenyatta on November 07, 2004, 05:41:10 pm
You did not describe the process you use to package your ipk. I use ipkg-utils 1.7 and it's very much problem-free (previously I had an ant script which I kept customising but this works much better). I would try building with ipkg-utils if you're not doing that already.

z.