Permalink
Browse files

New debian build scripts.

git-svn-id: http://code.sixapart.com/svn/gearman/trunk@351 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  • Loading branch information...
1 parent 98be2ce commit 77a40d028ddd5ac670f5b143f2db6a13669f65f3 hachi committed Nov 15, 2007
Showing with 104 additions and 0 deletions.
  1. +5 −0 debian/changelog
  2. +1 −0 debian/compat
  3. +16 −0 debian/control
  4. +2 −0 debian/gearmand.install
  5. +4 −0 debian/libgearman-server-perl.install
  6. +76 −0 debian/rules
View
@@ -0,0 +1,5 @@
+gearman-server (1.09-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Jonathan Steinert <deb@hachi.kuiki.net> Wed, 14 Nov 2007 15:18:37 -0800
View
@@ -0,0 +1 @@
+4
View
@@ -0,0 +1,16 @@
+Source: gearman-server
+Section: perl
+Priority: optional
+Maintainer: Jonathan Steinert <deb@hachi.kuiki.net>
+Build-Depends-Indep: lib-gearman-server-perl
+Standards-Version: 3.6.1.0
+
+Package: gearmand
+Architecture: all
+Depends: ${perl:Depends}, debhelper (>= 4.1.40), libgearman-server-perl, debconf (>= 1.2.0)
+Description: Gearman server
+
+Package: libgearman-server-perl
+Architecture: all
+Depends: ${perl:Depends}, debhelper (>= 4.1.40), libdanga-socket-perl, debconf (>= 1.2.0)
+Description: Gearman server libraries
View
@@ -0,0 +1,2 @@
+usr/bin/gearmand /usr/sbin
+usr/share/man/man1/gearmand.* /usr/share/man/man1
@@ -0,0 +1,4 @@
+usr/share/perl5/Gearman/Server.pm /usr/share/perl5/Gearman
+usr/share/perl5/Gearman/Server /usr/share/perl5/Gearman
+usr/share/man/man3/Gearman::Server.* /usr/share/man/man3
+usr/share/man/man3/Gearman::Server::* /usr/share/man/man3
View
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+# export DH_COMPAT=4
+export PERL_MM_USE_DEFAULT=1
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP =$(CURDIR)/debian/tmp
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(PERL) Makefile.PL verbose INSTALLDIRS=vendor
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ -$(MAKE) distclean
+ dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ dh_installdirs -A
+
+ $(MAKE) test
+ $(MAKE) pure_install DESTDIR=$(TMP) PREFIX=/usr
+
+ find $(TMP) -name .packlist -exec rm '{}' \;
+ find $(TMP) -depth -type d -empty -exec rmdir '{}' \;
+
+ # destroy all the mogdeps stuff
+ rm -rf $(TMP)/usr/share/perl5/mogdeps
+ rm -rf $(TMP)/usr/share/man/man3/mogdeps::*
+
+ dh_install --sourcedir=$(TMP) --fail-missing
+
+ touch install-stamp
+
+binary-arch:
+ # Nothing to do here, yet.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installman
+ dh_installdebconf
+ dh_installinit
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_perl
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

0 comments on commit 77a40d0

Please sign in to comment.