Initialize a dpkg for building
I talk about debuild a lot. Sometimes I build a new package that has no dpkg recipe yet, but I have to start somewhere.
To build a suitable tarball without git archive stuff (no scm in today's case), you can run this.
debmake -p paint -u 0.0.1 -r '1+stackrpms' -z=tar.gz -t
Customize the build recipe. For quite a while now, I've been putting the install process in file src/Makefile, and my debian/rules points to that source directory. It's nice and simple, with minimal effort needed on the dpkg instructions level. I want to be flexible in case I get around to building rpms again, or change package formats. I don't see that happening, but you never know. Make is probably the lowest common denominator: Pretty much any package manager will be able to use one.
And then a nice short debuild to build the package.
Comments