In this post I will explain how to make a Cydia package ( a .deb file).
1. Make a folder on your desktop. Call it whatever your package is called.
Inside make a folder called DEBIAN and another folder that is called Library if your package is a theme, Applications if it is an app. For other package types, refer elseware. Open the DEBIAN folder, then open notepad. Type in
Package: "This is the identifier of the package"
Name: "Name of the program"
Version: "Program Version"
Architecture: iphoneos-arm
Depends: "Packages that need to be installed"
Description: "A description of the program"
Homepage: "'More Information' on the Details page
Depiction: "IF YOU WANT TO PUT A DEPICTION, THEN REFER ELSEWARE"
Maintainer: "Person to contact-Format='Name '"
Author: "Wrote the software, format same as Maintainer"
Sponsor: "Funded project-Format='Name '"
Section: "Section in Cydia"
then replace all the fields in quotations with their values EXCEPT for Architecture and Depicture (Architecture=iphoneos-arm, Depiction should be blank)
Then save as control (no extension at all). Exit the DEBIAN folder and open the Library folder (if you made a theme) or the Applications folder (if you made an app). If you are in Library (for a theme), then create a new folder called Themes. If you are in Applications (for an app), then create a new folder called ----.app (replace the ----with the Application name). Only if you are making a theme, then, in the Themes folder, make another folder called ----.theme (replace ---- with theme name). In the folder you should now be in (either ----.theme or ----.app) download your theme or app (to find out how to make a theme or app, look elseware) content to the folder. Exit.
2. On your jailbroken iDevice download OpenSSH and Terminal. If are using a Mac, you need Cyberduck, if you are using a PC, you need WinSCP. SSH in and navigate to /
Create a new directory called cydia. Open it and create a new directory called apps. Open it and transfer the folder that you created in your desktop earlier to the apps directory. Now on your iDevice open Terminal. Type:
cd /cydia/apps/
dpkg -b ----
Where ---- is the name of the folder you transferred to /cydia/apps/
You will now have a file in /cydia/apps/ called ----.deb
3. (Only if you want to distribute your package in Cydia. Otherwise just copy/move the deb to /var/root/Cydia/AutoInstall/ creating some of the directories if necessary. When you reboot, your package will have been installed. However, if you wish to distribute in Cydia continue reading). Go to any repository and upload your deb and fill out all forms and requirements. If you can't find anywhere, then follow this link
http://www.thebigboss.org/ and follow the instructions.
That's all there is to it!
I stole this directly from some guy at modmyi?
Like copy and paste type stealing.
Erikseguin is the dude
Reply