a little packaging work

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8803 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-06-16 17:01:16 +00:00
parent 152f090a44
commit 39b6f21a4d
5 changed files with 98 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1 @@
4

View File

@ -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

View File

@ -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 ???.

View File

@ -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