source: trunk/debathena/third/tcsh/debathenify-tcsh @ 23376

Revision 23376, 794 bytes checked in by tabbott, 15 years ago (diff)
Change "Debian-Athena Project" to "Debathena Project".
  • Property svn:executable set to *
Line 
1#!/bin/sh
2set -e
3
4name=tcsh
5daversionappend=debathena4
6
7dir=$(cd "$(dirname "$0")"; pwd)
8
9hack_package () {
10    cp -a "$dir/hesiod.dpatch" debian/patches/
11    echo hesiod.dpatch >> debian/patches/00list
12    if dpkg --compare-versions "$version" '<' '6.14.00-6'; then
13        perl -0pe 's/^(# FOR AUTOCONF)/CONFFLAGS += --with-hesiod --with-afs\n\n$1/m or die' -i debian/rules
14    else
15        cat debian/rules
16        perl -0pe 's/^(.*--prefix=\/usr)/\t    --with-hesiod --with-afs \\\n$1/m or die' -i debian/rules
17    fi
18    add_build_depends libhesiod-dev
19    append_description <<EOF
20 .
21 This package was rebuilt for the Debathena project to add Hesiod
22 and AFS support.
23EOF
24    add_changelog 'Configure --with-hesiod --with-afs.'
25    add_debathena_provides
26    munge_sections
27}
28
29. ../common/debathenificator.sh
Note: See TracBrowser for help on using the repository browser.