Commit d21db39c authored by Philipp Huebner's avatar Philipp Huebner

add debian folder

parent c749eee2
erlang-p1-pam (0.2013.05.15-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Philipp Huebner <debalance@debian.org> Thu, 10 Apr 2014 20:16:48 +0200
Source: erlang-p1-pam
Section: unknown
Priority: optional
Maintainer: Philipp Huebner <debalance@debian.org>
Build-Depends: debhelper (>= 9), dh-rebar, libpam0g-dev
Standards-Version: 3.9.4
Homepage: <insert the upstream URL, if relevant>
#Vcs-Git: git://git.debian.org/collab-maint/erlang-p1-pam.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/erlang-p1-pam.git;a=summary
Package: erlang-p1-pam
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: erlang-p1-pam
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: <special license>
<Put the license of the package here indented by 1 space>
<This follows the format of Description: lines in control file>
.
<Including paragraphs>
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2014 Philipp Huebner <debalance@debian.org>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
EXEC_REBAR_COMMANDS=compile
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
DESTDIR=$(CURDIR)/debian/erlang-p1-pam
%:
dh $@ --buildsystem=rebar --with rebar
override_dh_auto_configure:
./configure
dh_auto_configure
override_dh_auto_install:
dh_auto_install
for file in include/*.hrl priv/lib/*.so ; do \
fname=$$(basename $${file}) ; \
subdir=$$(dirname $${file}) ; \
if [ ! -f $(DESTDIR)/usr/lib/erlang/lib/p1_pam-$(DEB_VERSION_UPSTREAM)/$${subdir}/$${fname} ] ; then \
install -m 755 -d $(DESTDIR)/usr/lib/erlang/lib/p1_pam-$(DEB_VERSION_UPSTREAM)/$${subdir} ; \
install -m 644 $${file} $(DESTDIR)/usr/lib/erlang/lib/p1_pam-$(DEB_VERSION_UPSTREAM)/$${subdir} ; \
fi ; \
done
override_dh_auto_clean:
rm -f config.log config.status
dh_auto_clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment