~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to install/beos/makepack.sh

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# Shell script to make a FPC .tar package for BeOS systems
 
4
# Copyright 1996-2002 Michael Van Canneyt and Peter Vreman
 
5
#
 
6
 
 
7
# Version
 
8
VERSION=1.0.8
 
9
RELEASE=ELF
 
10
 
 
11
unset FPCDIR
 
12
 
 
13
# Goto the toplevel if necessary
 
14
[ -d install ] || cd ..
 
15
 
 
16
#make beoszip RELEASE=1
 
17
#make sourcezip USEZIP=1
 
18
#make docsrc USEZIP=1
 
19
#make docs USEZIP=1
 
20
#make demozip USEZIP=1
 
21
 
 
22
SOURCES=`/bin/ls *src.zip`
 
23
FILES=`/bin/ls *be.zip`
 
24
RELFILES="binary.zip sources.zip demo.zip doc-html.zip install.sh samplecfg"
 
25
 
 
26
echo Creating binary.zip
 
27
zip binary.zip $FILES
 
28
echo Creating sources.zip
 
29
zip sources.zip $SOURCES
 
30
echo Copying install.sh
 
31
cp install/beos/install.sh .
 
32
chmod 755 install.sh
 
33
cp install/beos/samplecfg .
 
34
chmod 755 samplecfg
 
35
echo Creating fpc-$VERSION-$RELEASE.zip
 
36
zip fpc-$VERSION-$RELEASE.zip $RELFILES
 
37
if [ $? != 0 ]; then
 
38
  echo Failed to create fpc-$VERSION.$RELEASE.tar
 
39
  exit 1
 
40
fi
 
41
rm sources.zip
 
42
rm binary.zip