root/trunk/fink/main/finkinfo/macathena-moira.info

Revision 185, 1.4 kB (checked in by broder, 15 years ago)

For moira, force the manpath to be correct and use DESTDIR.

Line 
1 Package: macathena-moira
2 Version: 20090105
3 Revision: 2
4 Source: http://macathena.mit.edu/dist/moira-%v.tar.gz
5 Maintainer: SIPB MacAthena Project <sipb-macathena@mit.edu>
6 HomePage: http://macathena.mit.edu/
7 License: BSD
8 Description: The Athena Service Management system
9 DescDetail: <<
10         Moira is the Athena Service Management system.  It serves as the
11         central repository for information about users, groups hosts, print
12         queues, and several other aspects of the Athena environment.
13 <<
14 Source-MD5: afded014c91f64801d6d87e4b6aad038
15
16 Depends: macathena-hesiod, libncurses5-shlibs
17 BuildDepends: fink (>= 0.24.12), libncurses5
18 UpdateConfigGuess: true
19 PatchFile: %n.patch
20 PatchFile-MD5: 94503d049c26fb82527ca045902cb794
21 PatchScript: patch -p1 < %{PatchFile}
22 ConfigureParams: --with-krb5 --with-com_err --with-hesiod --mandir=%p/share/man
23 CompileScript: <<
24         autoconf
25         env TERM=vt100 ./configure %c
26         make
27 <<
28 InstallScript: <<
29         make install DESTDIR=%d
30         mv %i/bin/chfn %i/bin/chfn.moira
31         mv %i/bin/chsh %i/bin/chsh.moira
32         mv %i/share/man/man1/chfn.1 %i/share/man/man1/chfn.moira.1
33         mv %i/share/man/man1/chsh.1 %i/share/man/man1/chsh.moira.1
34        
35         %b/mkinstalldirs %i/include/moira %i/lib
36         cp %b/include/moira.h %b/lib/mr_et.h %b/lib/krb_et.h %b/lib/ureg_err.h %i/include/moira
37         cp %b/lib/libmoira.a %i/lib
38        
39         %b/mkinstalldirs %i/share/doc/%n
40         cat %b/include/mit-copyright.h | python -c "import sys; print ''.join(sys.stdin.readlines()[2:-2])" >%i/share/doc/%n/copyright
41 <<
Note: See TracBrowser for help on using the browser.