-
Notifications
You must be signed in to change notification settings - Fork 2
/
fink.info.in
65 lines (62 loc) · 1.91 KB
/
fink.info.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Package: fink
Version: @VERSION@
Revision: @REVISION@
Distribution: @DISTRIBUTION@
Depends: base-files
Recommends: <<
apt (>= 0.5.4-41)
<<
Conflicts: gcc3.1 (= 1175-6)
Replaces: gcc3.1 (= 1175-6)
Essential: yes
Source: @SOURCE@
Source-MD5: @MD5@
NoSetPATH: true
BuildAsNobody: false
CompileScript: <<
./pre-build-test.sh
make test PREFIX=%p ARCHITECTURE=%m DISTRIBUTION=@DISTRIBUTION@
./setup.sh %p %m
<<
InstallScript: <<
./install.sh %i %m
install -c -p -m 644 fink.shlibs "%d/DEBIAN/shlibs"
<<
PostInstScript: <<
%p/lib/fink/postinstall.pl %m
%p/bin/fink --no-use-binary-dist index
# try to clean up left-overs from previous versions (old location)
rm -f %p/var/db/fink.db
rm -f %p/var/db/shlibs.db
rm -f %p/var/lib/fink/fink.db
<<
PreRmScript: <<
# clean up package indexes
[ \! -d %p/var/lib/fink/finkinfodb ] || touch %p/var/lib/fink/finkinfodb/invalidate
rm -f %p/var/lib/fink/index.db
rm -f %p/var/lib/fink/index.db.lock
rm -f %p/var/lib/fink/infolist
rm -f %p/var/lib/fink/shlibs.db
rm -f %p/var/lib/fink/shlibs.db.lock
<<
#
Description: Open-source software package manager
DescPackaging: <<
Don't use mirror:sourceforge so that older package manager versions
which do not know that mirror can still selfupdate.
Must put "make test" before "./setup.sh %p %m", because make test runs
the setup script itself, but pointed at the testing directory.
The second run of setup.sh properly points fink at the installed
configuration file.
We are using Conflicts/Replaces against gcc3.1 so that the Fink gcc3.1
package is removed (in favor of an Apple-supplied gcc 3.1, represented
by a virtual package).
<<
DescDetail: <<
fink is the Fink project's package manager. It is responsible for
downloading and compiling source and building binary packages from
it. Binary package handling is then delegated to dpkg.
<<
License: GPL
Maintainer: Fink Core Group <[email protected]>
Homepage: http://www.finkproject.org/