author | kergoth <kergoth> | 2002-05-15 21:26:01 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-05-15 21:26:01 (UTC) |
commit | cafee1cbb3af682dea267027f98d37c30bb85b31 (patch) (unidiff) | |
tree | 9e3f75bb70f4acc1cfa5dbfd1986f58150713fe3 | |
parent | da2078d50d80d1698d880f48f942e6530f0cca9f (diff) | |
download | opie-cafee1cbb3af682dea267027f98d37c30bb85b31.zip opie-cafee1cbb3af682dea267027f98d37c30bb85b31.tar.gz opie-cafee1cbb3af682dea267027f98d37c30bb85b31.tar.bz2 |
Updated STRIP_FILES.
-rwxr-xr-x | mkipks | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,59 +1,59 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | QTE_VERSION=2.3.2 | 3 | QTE_VERSION=2.3.2 |
4 | DEB_VERSION=2.0 | 4 | DEB_VERSION=2.0 |
5 | 5 | ||
6 | # Have to do this here, since CVS can't store symlinks | 6 | # Have to do this here, since CVS can't store symlinks |
7 | mkdir -p etc/rc2.d | 7 | mkdir -p etc/rc2.d |
8 | rm -f etc/rc2.d/S98qpe | 8 | rm -f etc/rc2.d/S98qpe |
9 | ln -s ../init.d/qpe etc/rc2.d/S98qpe | 9 | ln -s ../init.d/qpe etc/rc2.d/S98qpe |
10 | 10 | ||
11 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 11 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
12 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 12 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
13 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) | 13 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
14 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) | 14 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
15 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h | 15 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
16 | then | 16 | then |
17 | VERSION_CVS="$(date +%Y%m%d)" | 17 | VERSION_CVS="$(date +%Y%m%d)" |
18 | SUB_VERSION=$VERSION_CVS | 18 | SUB_VERSION=$VERSION_CVS |
19 | else | 19 | else |
20 | VERSION_CVS="" | 20 | VERSION_CVS="" |
21 | fi | 21 | fi |
22 | 22 | ||
23 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT | 23 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
24 | 24 | ||
25 | ARCH=arm | 25 | ARCH=arm |
26 | STRIP=arm-linux-strip | 26 | STRIP=arm-linux-strip |
27 | STRIP_FILES="*Advanced RISC Machines ARM*not stripped" | 27 | STRIP_FILES="*ARM*not stripped" |
28 | 28 | ||
29 | TDIR=/tmp/ipk$$ | 29 | TDIR=/tmp/ipk$$ |
30 | DATADIR=$TDIR/data | 30 | DATADIR=$TDIR/data |
31 | CTRLDIR=$TDIR/control | 31 | CTRLDIR=$TDIR/control |
32 | 32 | ||
33 | IMAGEDIR= | 33 | IMAGEDIR= |
34 | VERB= | 34 | VERB= |
35 | LIST= | 35 | LIST= |
36 | RPM= | 36 | RPM= |
37 | 37 | ||
38 | while [ $# -ne 0 ] | 38 | while [ $# -ne 0 ] |
39 | do | 39 | do |
40 | case "$1" in | 40 | case "$1" in |
41 | -v) | 41 | -v) |
42 | VERB=1 | 42 | VERB=1 |
43 | echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS" | 43 | echo >&2 "Packaging for version $VERSION_MAJ.$VERSION_MIN.$VERSION_PAT$VERSION_CVS" |
44 | ;; -l) | 44 | ;; -l) |
45 | LIST=1 | 45 | LIST=1 |
46 | ;; -i) | 46 | ;; -i) |
47 | shift | 47 | shift |
48 | IMAGEDIR=$1 | 48 | IMAGEDIR=$1 |
49 | DATADIR=$IMAGEDIR | 49 | DATADIR=$IMAGEDIR |
50 | mkdir -p $IMAGEDIR | 50 | mkdir -p $IMAGEDIR |
51 | ;; -rpm) | 51 | ;; -rpm) |
52 | if [ "$OPIEDIR" != "/opt/Qtopia" ] | 52 | if [ "$OPIEDIR" != "/opt/Qtopia" ] |
53 | then | 53 | then |
54 | echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.' | 54 | echo >&2 '$OPIEDIR is not the standard /usr/Qtopia directory.' |
55 | sleep 1 | 55 | sleep 1 |
56 | #exit 1 | 56 | #exit 1 |
57 | fi | 57 | fi |
58 | RPM=1 | 58 | RPM=1 |
59 | ;; -arch) | 59 | ;; -arch) |