On 09/04/12 14:19, Werner Detter wrote: > Hi, > > I am looking for instructions on how to create a debian package that uses > cmake as build > system as I'm wondering how the debian/rules should look and what it should > contain for > cmake? Can anyone tell me a small package that uses cmake as build system, > where i could > peak for a debian/rules file? Any other good hints or links? :)
cdbs makes it very easy http://build-common.alioth.debian.org/cdbs-doc.html#id2561559 I've used cdbs for autotools projects, the debian/rules file is minimal: http://dynalogin.git.sourceforge.net/git/gitweb.cgi?p=dynalogin/dynalogin;a=blob;f=debian/rules;h=6fc978435cf87e22878768cbe97a7d6d3953784f;hb=39ecf66329b9bd0d6333baf52b10592d1a7f2ee9 Notice where I include autotools.mk, I think you can use include this instead: include /usr/share/cdbs/1/class/cmake.mk -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f82d6e7.5080...@pocock.com.au