13.10.1 Packaging a single binary
Quick-and-dirty method to Package a single binary per Joey Hess.
# 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