debian swirl logo

Back to the packages list migrationtools

#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2004-2009 Jonas Smedegaard 
# Description: Main Debian packaging script for migrationtools
#
# This program 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, or (at
# your option) any later version.
#
# This program 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, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA.

ifneq (,$(DEB_MAINTAINER_MODE))
  # Enable stuff not policy compliant (eg. unsuitable for build daemons)
  DEB_COPYRIGHT_CHECK_STRICT = yes
  DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
endif
include debian/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/1/rules/copyright-check.mk
include debian/cdbs/1/rules/buildinfo.mk

DEB_UPSTREAM_URL = ftp://ftp.padl.com/pub
DEB_UPSTREAM_PACKAGE = MigrationTools

DEB_UPSTREAM_TARBALL_FETCH_OPTIONS += --no-passive-ftp

DEB_UPSTREAM_TARBALL_MD5 = 3faf83eb8482e55979bda47f1d1e6501

# Make sure all scripts are executable
common-binary-post-install-indep::
		find debian/migrationtools/usr/share/migrationtools -type f -exec chmod 755 '{}' ';'

# Resolve, cleanup and apply CDBS-declared dependencies
include debian/cdbs/1/rules/package-relations.mk

Builds:

migrationtools
migration scripts for ldap