Commits

Palmer, 2E0EOL committed 1f57307 Draft

Add Debian build system

Comments (0)

Files changed (7)

+libcobjects (0.0.0) stable; urgency=low
+
+  * Applied Debian packaging
+
+ -- David Palmer <palmer@overchat.org>  Sat, 30 Mar 2013 15:21:14 +0000
+Source: libcobjects
+Section: utils
+Priority: extra
+Maintainer: David Duncan Ross Palmer <palmer@overchat.org>
+Build-Depends: debhelper (>= 7.0.15), autoconf
+Standards-Version: 3.7.3
+Homepage: http://www.daybologic.co.uk/software.php?content=cobjects
+Vcs-Browser: https://bitbucket.org/daybologic/dlcobjects
+
+Package: libcobjects
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Generic objects for C application writers. Stacks, queues etc.
+ A library which provides linked-lists, queues, stacks for die-hard C programmers.
+ This is an attempt to unify the C world, who are being surpassed by projects such
+ as CPAN, and the C++ template library.
+
+Package: libcobjects-dev
+Architecture: any
+Depends: libcobjects
+Description: Generic objects for C development headers
+ This package includes cobjects.h so that you can compile against
+ libcobjects.
+/usr/lib
+/usr/include

debian/libdlcobjects-dev.install

+debian/tmp/usr/lib/*.a usr/lib
+debian/tmp/usr/lib/*.la usr/lib
+debian/tmp/usr/include/*.h usr/include

debian/libdlcobjects.install

+debian/tmp/usr/lib/*.so.* usr/lib
+debian/tmp/usr/lib/*.so usr/lib
+#!/usr/bin/make -f
+
+clean:
+	dh $@
+
+build:
+	dh --before dh_auto_configure build
+	# Re-generate configure if deleted.
+	if ! [ -f configure ]; then \
+		autoconf; \
+	fi
+	dh_auto_configure -- --enable-stderr --prefix=/usr
+	dh --after dh_auto_configure build
+
+binary:
+	dh $@