Blake Barnett wrote: > I've actually built quite a few packages for Debian. Just never a > single binary. All the tools want a complete source-tree to do so. I > have a pre-compiled, stand-alone binary (only requires libc6) and want > to make a deb so I can make it part of a virtual package which will > install all dependancies for a certain 'class/type' of machine I have. > > I also don't have the source, or say for example.. it's a perl script.. > or some bash scripts.. how would you do it?
mkdir -p mypkg/usr/bin mypkg/DEBIAN cp binary mypkg/usr/bin cat > mypkg/DEBIAN/control Package: mypackage Version: 1 Architecture: i386 Maintainer: Joey Hess <[EMAIL PROTECTED]> Description: my little package Don't expect much. ^D dpkg-deb -b mypkg Disclaimer: I know the debian packaging system a little bit better then most people. :-) Nevertheless, this kind of quick-n-dirty thing can be really handy. -- see shy jo