Commits

Palmer, 2E0EOL  committed 642f209

Steal Debian package directory from dlstds project.

  • Participants
  • Parent commits 372d982
  • Branches debpkg

Comments (0)

Files changed (7)

File debian/changelog

+libdlstds (39.0.0) stable; urgency=low
+
+  * Initial packaged release.
+
+ -- David Palmer <palmer@overchat.org>  Sat, 19 Feb 2011 14:23:29 +0000

File debian/compat

+7

File debian/control

+Source: libdlstds
+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/software.php?content=dlstds
+Vcs-Browser: https://bitbucket.org/daybologic/dlstds
+
+Package: libdlstds
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Standard base library on which most Daybo Logic code relies.
+ This library provides common functionality needed by other Daybo Logic
+ scripts and applications.
+
+Package: libdlstds-dev
+Architecture: any
+Depends: libdlstds
+Description: Standard Daybo Logic base library headers
+ This package includes headers so that you can compile against
+ libdlstds.
+/usr/lib
+/usr/include

File debian/libdlstds-dev.install

+debian/tmp/usr/lib/*.a usr/lib
+debian/tmp/usr/lib/*.la usr/lib
+debian/tmp/usr/include/*.h usr/local/share/daybo_logic/stds

File debian/libdlstds.install

+debian/tmp/usr/lib/*.so.* usr/lib
+debian/tmp/usr/lib/*.so usr/lib

File debian/rules

+#!/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
+
+libdlstds:
+	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$@
+
+libdlstds-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 libdlstds libdlstds-dev