source: trunk/debathena/third/bash/debathenify-bash @ 22698

Revision 22698, 705 bytes checked in by ghudson, 17 years ago (diff)
Snapshot some of the Debathena third-party package materials. This commit only covers the packages which use the debathenificator framework (bash, tcsh, krb5).
  • Property svn:executable set to *
Line 
1#!/bin/sh
2set -e
3
4name=bash
5daversionappend=debathena5
6
7dir=$(cd "$(dirname "$0")"; pwd)
8
9hack_package () {
10    cp -a "$dir/hesiod.dpatch" debian/patches/
11    perl -0pe 's/^(debian_patches = \\)$/$1\n\thesiod \\/m or die' -i debian/rules
12    perl -0pe 's/^(conf_args = \\)$/$1\n\t--with-afs CPPFLAGS=-DHESIOD LIBS='"'\/usr\/lib\/libhesiod.a -lresolv'"' \\/m or die' -i debian/rules
13    add_build_depends libhesiod-dev
14    append_description <<EOF
15 .
16 This package was rebuilt for the Debian-Athena project to add Hesiod
17 and AFS support.
18EOF
19    add_changelog 'Add hesiod support.'
20    add_changelog 'Configure --with-afs.'
21    add_debathena_provides
22    munge_sections
23}
24
25. ../common/debathenificator.sh
Note: See TracBrowser for help on using the repository browser.