source:
ipk/ipkg-utils-050831/makePackage@
12663
| Last change on this file since 12663 was 4860, checked in by , 15 years ago | |
|---|---|
| File size: 373 bytes | |
| Line | |
|---|---|
| 1 | #!/usr/bin/python |
| 2 | |
| 3 | # The general algorithm this program follows goes like this: |
| 4 | # Run tar to extract control from control.tar.gz from the package. |
| 5 | # Insert the filename, size, and md5 lines before the description. |
| 6 | # Call it like this: |
| 7 | # find . -name \*.ipk | xargs -n 1 makePackage > Packages |
| 8 | |
| 9 | import sys |
| 10 | import ipkg |
| 11 | |
| 12 | fn = sys.argv[1] |
| 13 | pkg = ipkg.Package(fn) |
| 14 | print pkg |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)