What You Need:
-Mac or [COLOR=#FF7F00 ! important][COLOR=#FF7F00 ! important]Virtual [COLOR=#FF7F00 ! important]Machine[/COLOR][/COLOR][/COLOR] with Debian installed
-Fink (If your on a Mac) Get it here
-Internet
-Text Editor
OK here we go!
If the images are too small, click on them to make them big.
1. Make a folder on the desktop called "MyProgram" without quotes.

2. Make 2 folders inside MyProgram called "[COLOR=#ff7f00][COLOR=#FF7F00 ! important][COLOR=#FF7F00 ! important]Applications[/COLOR][/COLOR][/COLOR]" and "[COLOR=#ff7f00][COLOR=#FF7F00 ! important][COLOR=#FF7F00 ! important]DEBIAN[/COLOR][/COLOR][/COLOR]" without quotes. If you have an app, you make an "Applications" folder. If you have a wallpaper, you would instead of an "[COLOR=#ff7f00][COLOR=#FF7F00 ! important][COLOR=#FF7F00 ! important]Applications[/COLOR][/COLOR][/COLOR]" folder, you'd put the directory of where the wallpaper would go.
EX: For [COLOR=#ff7f00][COLOR=#FF7F00 ! important][COLOR=#FF7F00 ! important]Wallpaper[/COLOR][/COLOR][/COLOR]: MyProgram > Library > Wallpapers > Wallpaper goes here
For app: MyProgram > Applications > App goes here

3. Put your .app file into the "Applications" folder. Remember, if your something like a wallpaper, put it in MyProgram > Library >Wallpapers > Wallpaper goes here

4. Now go into Spotlight, the magnifying glass in the top right corner of the screen and search "textedit" without quotes.

5. Now copy and paste the code below into TextEdit.
[COLOR=#ff7f00][COLOR=#FF7F00 ! important][COLOR=#FF7F00 ! important]Website[/COLOR][/COLOR][/COLOR]: http://www.yoursite.com/home.html
Maintainer: You
Name: Name of package
Package: Bundle identifier
Section: Section it could be found in
Version: version of package
Architecture: iphoneos-arm
Description: Description of package
Sponsor: You
6. After you edit, it should look somewhat like this:

7. Hit "Save As..." and save it as "control" without quotes and uncheck "If no extension is provided, use .txt"

8. Now put the control file in MyProgram > DEBIAN

9. Now Launch Terminal by going to Spotlight and search Terminal. When you open it, it should look like this:

10. In Terminal, type "cd /Users/your username/[COLOR=#ff7f00][COLOR=#FF7F00 ! important][COLOR=#FF7F00 ! important]Desktop[/COLOR][/COLOR][/COLOR] and hit enter shown here:

11. OK, copy and paste this code into Terminal: dpkg-deb -b MyProgram and hit enter.

As you can see, it says there are warnings. That's OK! When you typed that command, it made a new file called MyProgram.deb It's that easy to make a DEB file!
http://iroboticshowoff.com/files/cydia11.png
12. Now let's make our repo's info. Copy and paste the code below.
Origin: Name of your repo
Label: Header when the user taps your repo
Suite: stable
Version: 1.0
Codename: stable
Architectures: darwin-arm
Components: main
Description: Description of your repo
13. When you're done editing it, it should look like this:
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 482x450.http://iroboticshowoff.com/files/cydia12.png
It does say control at the top because I just deleted the text from the control file. DON'T DO THAT!
14. Click File > Save As... and save it as "Release" without quotes. And make sure there is not extension!
http://iroboticshowoff.com/files/cydia13.png
15. Make a new folder on the Desktop and name it "cydiarepo" without quotes.
http://iroboticshowoff.com/files/cydia14.png
16. Inside "cydiarepo" make a folder called "debs" without quotes.
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 756x443.http://iroboticshowoff.com/files/cydia15.png
17. Now go back into Terminal and type this command: dpkg-scanpackages -m . /dev/null -->Packages
Then hit enter.
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 511x373.http://iroboticshowoff.com/files/cydia16.png
Notice it created a "Packages" file on your Desktop.
http://iroboticshowoff.com/files/cydia17.png
18. Now go back to Terminal and type this command: gzip -f Packages
Then hit enter.
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 532x388.http://iroboticshowoff.com/files/cydia19.png
Notice that it gzipped the Packages file and made a new file called Packages.gz
http://iroboticshowoff.com/files/cydia20.png
19. Double click Packages.gz and it will extract the Packages file. When it's done, dragthe Release file, Packages, and Packages.gz into the cydiarepo folder.
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 758x443.http://iroboticshowoff.com/files/cydia21.png
20. Now drag the MyProgram.deb file into the "debs" folder in cydiarepo.
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 758x443.http://iroboticshowoff.com/files/cydia22.png
Rename the DEB file to whatever you want. EX: Snapture.deb
21. Go to back one, and highlight everything. Then, right click and click Compress 4 Items.
http://iroboticshowoff.com/files/cydia23
Then click Compress 4 items...
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 762x444.http://iroboticshowoff.com/files/cydia24.png
It will make a file called "Archive.zip"
http://iroboticshowoff.com/files/cydia25.png
22. Make a folder on your site that will be the main directory of where we upload the files. Then upload the zip to that folder. I named my folder cydiademo.
http://iroboticshowoff.com/files/cydia26.png
Then extract...
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 526x216.http://iroboticshowoff.com/files/cydia27.png
23. If it makes a folder called __MACOSX, just delete that. Also delete Archive.zip.
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 514x176.http://iroboticshowoff.com/files/cydia28.png
24. Open up the Packages file and copy and paste the text below:
MD5Sum: Put the MD5 hash here (to find this out, go to http://hashemall.com and select MD5)
Maintainer: Who maintains the package
Description: Description of package
Package: Bundle Identifier
Section: Section it shows up in
Author: Who made the app
Filename: directory where the deb can be found
Version: Version of Package
Architecture: iphoneos-arm
Size: Unix Size (Right click on deb and click get info, and view size on disk. input the numbers ONLY, not the commas.)
Homepage: URL for More Info
Name: Name of package
When done, it should look like this:
http://iroboticshowoff.com/files/cydia29.png
25. Now copy and paste what you put in the Packages file into the Packages file on your desktop. Then save it.
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 505x486.http://iroboticshowoff.com/files/cydia30.png
26. Each time you modify the Packages file, you have to make a new .gz file. Type the command in Terminal: gzip -f Packages
http://modmyi.com/forums/images/statusicon/wol_error.gifThis image has been resized. Click this bar to view the full image. The original image is sized 536x389.http://iroboticshowoff.com/files/cydia31.png
27. In your repo folder on your site, delete Packages.gz and upload the new one. I'm not going to show a pic this time.
I think that's it! Oh yah! One more thing! Whenever you upload a new DEB, you have to change the Packages and Packages.gz files so they're up to date. Each time you cahne the Packages file, you skip a line, then copy the info you posted in there already.
It'll look like this:
http://iroboticshowoff.com/files/cydia32.png
Thanks.
~darkMatt3r

Sign In »
Register Now!
Help



Back to top






or 'THANKS' button, if I helped you!











