~ubuntu-branches/ubuntu/precise/acedb/precise

« back to all changes in this revision

Viewing changes to wdarwin/mkinfo

  • Committer: Bazaar Package Importer
  • Author(s): Steffen Moeller
  • Date: 2010-07-11 06:27:12 UTC
  • Revision ID: james.westby@ubuntu.com-20100711062712-f1mtli96gavo7mk4
Tags: upstream-4.9.39
ImportĀ upstreamĀ versionĀ 4.9.39

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/tcsh 
 
2
 
 
3
if ( $#argv == 0 ) then
 
4
  echo "usage: mkinfo <version> <revision>" 
 
5
  exit (1)
 
6
endif
 
7
 
 
8
if ($#argv == 1 ) then
 
9
   set revision = 1
 
10
else
 
11
   set revision = $2
 
12
endif
 
13
 
 
14
set BINDIR=DARWIN_4_GTK2
 
15
set versiondot = $1:s/_/./
 
16
set versionu = $1:s/./_/
 
17
set filename = acedb_$versiondot-$revision.info       # since 4.9.27 we use versiondot only
 
18
 
 
19
echo "Package: acedb" >$filename
 
20
echo "Version: $versiondot" >>$filename
 
21
echo "Revision: $revision" >>$filename
 
22
echo "Source: http://www.acedb.org/Software/Downloads/MONTHLY/ACEDB-source.$versiondot.tar.gz" >>$filename
 
23
echo "source-MD5: 8e8e7a432c2c4ea1d0670e2eb421e792" >>$filename     # checksum of tarfile of source code
 
24
 
 
25
cat >>$filename << EOF
 
26
NoSourceDirectory: true
 
27
CompileScript: <<
 
28
 make ACEDB_MACHINE=${BINDIR}
 
29
<<
 
30
InstallScript: <<
 
31
install -d %i/bin
 
32
install -o root -g wheel bin.${BINDIR}/xace %i/bin
 
33
install -o root -g wheel bin.${BINDIR}/tace %i/bin
 
34
install -o root -g wheel bin.${BINDIR}/giface %i/bin
 
35
install -o root -g wheel bin.${BINDIR}/acediff %i/bin
 
36
install -o root -g wheel bin.${BINDIR}/saceserver %i/bin
 
37
install -o root -g wheel bin.${BINDIR}/saceclient %i/bin
 
38
install -o root -g wheel bin.${BINDIR}/sxaceclient %i/bin
 
39
install -o root -g wheel bin.${BINDIR}/xremote %i/bin
 
40
install -d %i/share/acedb
 
41
mv whelp %i/share/acedb
 
42
mv wtools %i/share/acedb
 
43
mv wscripts %i/share/acedb
 
44
install -d %i/share/acedb/wspec
 
45
mv wspec/gtkrc wspec/displays.wrm wspec/cachesize.wrm %i/share/acedb/wspec
 
46
mv wspec/database.wrm wspec/psfonts.wrm %i/share/acedb/wspec
 
47
chown -R root %i/share/acedb
 
48
chgrp -R wheel %i/share/acedb
 
49
install -d %i/share/doc
 
50
mv wdoc %i/share/doc/acedb
 
51
chown -R root %i/share/doc/acedb
 
52
chgrp -R wheel %i/share/doc/acedb
 
53
<<
 
54
Description: Open Source genome database
 
55
<<
 
56
License: GPL/LGPL
 
57
Homepage: http://www.acedb.org/
 
58
Maintainer: Rob Clack <rnc@sanger.ac.uk>
 
59
Depends: x11, readline, gtk+2
 
60
EOF
 
61