]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
a little packaging work
authorMichael Jerris <mike@jerris.com>
Mon, 16 Jun 2008 17:01:16 +0000 (17:01 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 16 Jun 2008 17:01:16 +0000 (17:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8803 d0543943-73ff-0310-b7d9-9358b9ac24b2

scripts/socket/FreeSWITCH/debian/changelog [new file with mode: 0644]
scripts/socket/FreeSWITCH/debian/compat [new file with mode: 0644]
scripts/socket/FreeSWITCH/debian/control [new file with mode: 0644]
scripts/socket/FreeSWITCH/debian/copyright [new file with mode: 0644]
scripts/socket/FreeSWITCH/debian/rules [new file with mode: 0755]

diff --git a/scripts/socket/FreeSWITCH/debian/changelog b/scripts/socket/FreeSWITCH/debian/changelog
new file mode 100644 (file)
index 0000000..986e939
--- /dev/null
@@ -0,0 +1,6 @@
+libfreeswitch-client-perl (1.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Massimo Cetra <devel@navynet.it>  Sat, 14 Jun 2008 17:38:34 +0200
+
diff --git a/scripts/socket/FreeSWITCH/debian/compat b/scripts/socket/FreeSWITCH/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/scripts/socket/FreeSWITCH/debian/control b/scripts/socket/FreeSWITCH/debian/control
new file mode 100644 (file)
index 0000000..bb319fa
--- /dev/null
@@ -0,0 +1,16 @@
+Source: libfreeswitch-client-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 6)
+Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-install-perl,
+ libmodule-scandeps-perl (>= 0.66), libarchive-zip-perl,
+ libpar-dist-perl (>= 0.22), libdigest-sha1-perl, libmodule-signature-perl,
+ libgetopt-argvfile-perl (>= 1.07), gnupg, libinline-perl, libtest-pod-perl
+Maintainer: Massimo Cetra <devel@navynet.it>
+
+Package: libfreeswitch-client-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libmodule-scandeps-perl (>=  0.66), libio-socket-ssl-perl (>= 1.02-1)
+Recommends: gnupg, libmodule-signature-perl, libpar-packer-perl
+Description: FreeSWITCH Client perl library
+    FreeSWITCH perl client library
diff --git a/scripts/socket/FreeSWITCH/debian/copyright b/scripts/socket/FreeSWITCH/debian/copyright
new file mode 100644 (file)
index 0000000..ea5acea
--- /dev/null
@@ -0,0 +1,12 @@
+This package was debianized by Massimo Cetra (CtRiX) <devel@navynet.it> on
+Sat, 14 Jun 2008 12:12:19 +0200.
+
+It was downloaded from: http://www.freeswitch.org/
+
+The upstream author is: ?
+
+Copyright 2008 by - ?
+
+This program is free software, you can redistribute it and/or modify it under
+the terms  ???.
+
diff --git a/scripts/socket/FreeSWITCH/debian/rules b/scripts/socket/FreeSWITCH/debian/rules
new file mode 100755 (executable)
index 0000000..8841538
--- /dev/null
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+       dh_testdir
+       $(PERL) Makefile.PL INSTALLDIRS=vendor
+       $(MAKE)
+       PERL_TEST_POD=1 $(MAKE) test
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       dh_clean build-stamp install-stamp
+       [ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+       # lintian override for a long line with a hash
+       # dh_installdirs /usr/share/lintian/overrides/
+       #install -m 644 $(CURDIR)/debian/lintian-overrides $(TMP)/usr/share/lintian/overrides/$(PACKAGE)
+       #[ ! -d $(TMP)/usr/lib/perl5 ] || \
+       #       rmdir --ignore-fail-on-non-empty --parents --verbose \
+       #       $(TMP)/usr/lib/perl5
+       touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installdocs README
+       dh_installchangelogs ChangeLog
+       dh_perl
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install