The thing is, building a .deb package has a lot of dependencies on things found in a *nix system, so much so that just bringing all that stuff to Windows would be very hard at best.
The way I would solve this problem I suppose would be to compile a minimalistic CUI Linux distro with only basic i/o and the things needed to make packages then find a way to run a localized instance of QEMU to emulate the custom-built Linux distro (doing some fiddling to make it look similar to a Windows command prompt), then finding a way to get the created file to the Windows system.
Of course, there are countless problems with the above, and it does sorta highlight something else about this problem.
Not to be blunt, but the user can just make the packages using a virtual machine and just doing it on Debian, then bringing the file over to the host machine. Since most *nux distros are free, and there are free emulators out there, this becomes a non-issue. But that's just my opinion, I've told you what I think is the simplest solution I can think of.
Edit: And to preempt anyone, I have indeed thought about my "solution" above, did some research, and stand by it. Doing fiddly shit ends up causing more problems, so in my mind, just building an operating system and then making it run on a different OS is simpler than fuddling around with compilers and crap on the non-native OS.
This post has been edited by Tarkenfire: 08 June 2011 - 09:22 PM
...he explained it...because jailbroken iOS products generally use .debs to install stuff on them, and he want's to be able to...have some sort of interface for installing them...don't know why you would need to make them though...installing them generally involves un-packing them, since .debs are just generally a bunch of tarballs grouped together...
Well...yes, he should, that kinda is the idea behind my idea of a localized instance of an emulator running Linux...as well as the underpin of why it's a bad idea when Debian is free and can just be used on either another computer, the same computer, or (and I shudder to think how craptastic Debian would work on a freaking iPhone) on the device itself.
This post has been edited by Tarkenfire: 09 June 2011 - 11:06 AM