3 ms·
I'm wondering what people are using to _build_ custom deb packages. We currently have a set of simple shell scripts which first install the dependencies, then c
by omn1 10y ago
I'm wondering what people are using to _build_ custom deb packages. We currently have a set of simple shell scripts which first install the dependencies, then compile some source code and finally use checkinstall to build a Debian package from that. It works, but I'd much rather have a config file with all the required steps instead of a buggy shell script.
Is there any better way?
- otterley 10y agofpm - https://github.com/jordansissel/fpm/wiki https://github.com/jordansissel/fpm/wiki
- omn1 10y agoLooks good! Additionally, there's fpm-cookery, which comes pretty close to what I want: https://github.com/bernd/fpm-cookery https://github.com/bernd/fpm-cookery Somebody also created a Docker container for that: https://github.com/andytinycat/fpm-dockery https://github.com/andytinycat/fpm-dockery Now combining this tool with Jenkins, which triggers a build whenever I change the recipe would be all I need for now.
- shadeslayer 10y agoAny particular reason why there is no debian packaging for it? Debhelper makes it so trivial to package things these days.
- omn1 10y agoDebhelper felt a bit too "low-level" when I first tried it. After learning a lot about Debian packages it might be a good choice now. Maybe I'll have another look. Thanks!
- viraptor 10y agoCheck out the "not your grandpa's debhelper" presentation. (http://penta.debconf.org/dc9_schedule/events/418.en.html http://penta.debconf.org/dc9_schedule/events/418.en.html) The official documentation seems to disregard a lot of the recent (as in, from the last 8 years) improvements.
- shadeslayer 10y agoThese days I barely need anything more than /usr/share/doc/debhelper/examples/rules.tiny
- cheez 10y agoI use CMake/CPacl