32 lines
966 B
Text
32 lines
966 B
Text
|
1. creating the ipkg package
|
||
|
|
||
|
1.1 install ipkg-utils
|
||
|
|
||
|
- get it: ftp://ftp.handhelds.org/packages/ipkg-utils/
|
||
|
- unpack it
|
||
|
- make
|
||
|
- make install
|
||
|
|
||
|
Strangely the script ipkg-buildpackage does not get installed. You have to copy it manually
|
||
|
to /usr/local/bin/.
|
||
|
|
||
|
There is a problem with the choice of the archiver:
|
||
|
- tar
|
||
|
- ar
|
||
|
ipkg-build (which is called by ipkg-buildpackage) uses "ar" by default, but most busybox
|
||
|
installations do not include this archiver.
|
||
|
To change the default archiver for ipkg-build you could pass the option "-c" to it.
|
||
|
As it is called by ipkg-buildpackage you have to change this by hand:
|
||
|
- look for a line that starts with "ipkg-build " near to the end of ipkg-buildpackage
|
||
|
- insert "-c" after "ipkg-build"
|
||
|
|
||
|
|
||
|
1.2 create control files for the package
|
||
|
for detailed instructions see "http://handhelds.org/moin/moin.cgi/BuildingIpkgs"
|
||
|
(note: the directory "CONTROL" can be "ipkg" too)
|
||
|
|
||
|
|
||
|
1.3 package the software
|
||
|
fakeroot SOURCE_DIR ipkg-buildpackage
|
||
|
|