Commits

Palmer, 2E0EOL committed e341c1b

Debian packaging control directory.

Comments (0)

Files changed (7)

+libdlstr (0.1.1-1) stable; urgency=low
+
+  * Initial packaged release.
+
+ -- David Palmer <palmer@overchat.org>  Sat, 05 Mar 2011 10:05:19 +0000
+Source: libdlstr
+Section: libs
+Priority: extra
+Maintainer: David Palmer <palmer@overchat.org>
+Build-Depends: debhelper (>= 7), autoconf, autotools-dev, automake, libtool
+Standards-Version: 3.7.3
+Homepage: http://www.daybologic.co.uk/
+Vcs-Browser: https://bitbucket.org/daybologic/dlstr
+
+Package: libdlstr
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Legacy string wrapper library for C code by Daybo Logic
+ This library provides a legacy string-wrapper functionality for C code,
+ I don't recommend it.  There are many libraries out there, but this one
+ is used by a lot of older Daybo Logic code, so may need to hang around
+ for a transitional period.
+
+Package: libdlstr-dev
+Architecture: any
+Depends: libdlstr
+Description: Daybo Logic legacy strinh library headers
+ This package includes headers so that you can compile against
+ libdlstr.
+/usr/lib
+/usr/include

debian/libdlstr-dev.install

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

debian/libdlstr.install

+debian/tmp/usr/lib/*.so.* usr/lib
+debian/tmp/usr/lib/*.so usr/lib
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	if [ -f configure ]; then \
+		mv -f configure configure.orig; \
+	fi
+	autoreconf -vi && ./configure --prefix=/usr
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp  
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	if [ -f Makefile ]; then \
+		$(MAKE) clean; \
+	fi
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# Build architecture-independent files here.
+binary-indep: build install libdlstds-dev
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install libdlstds
+
+libdlstr:
+	dh_testdir
+	dh_testroot
+#	dh_installchangelogs 
+#	dh_installdocs
+#	dh_installexamples
+	dh_install -p$@
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installman
+	dh_link -p$@
+	dh_strip -p$@
+#	dh_compress -p$@
+	dh_fixperms -p$@
+#	dh_perl
+	dh_makeshlibs -p$@
+	dh_installdeb -p$@
+	dh_shlibdeps -p$@
+	dh_gencontrol -p$@
+	dh_md5sums -p$@
+	dh_builddeb -p$@
+
+libdlstr-dev:
+	dh_testdir
+	dh_testroot
+#	dh_installchangelogs 
+#	dh_installdocs
+#	dh_installexamples
+	dh_install -p$@
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installman
+#	dh_link -p$@
+#	dh_strip -p$@
+#	dh_compress -p$@
+	dh_fixperms -p$@
+#	dh_perl
+#	dh_makeshlibs -p$@
+	dh_installdeb -p$@
+#	dh_shlibdeps -p$@
+	dh_gencontrol -p$@
+	dh_md5sums -p$@
+	dh_builddeb -p$@
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure libdlstr libdlstr-dev