author | harlekin <harlekin> | 2002-08-30 12:38:14 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-30 12:38:14 (UTC) |
commit | 81946d699779a30dc09b3ecc8cf5998bae19b343 (patch) (unidiff) | |
tree | ca1b12a09a18eb65ff4e761e8ca55648ac073b42 /mkipks | |
parent | 56640f56c2c0a5191a47927d48dea1e7df98c985 (diff) | |
download | opie-81946d699779a30dc09b3ecc8cf5998bae19b343.zip opie-81946d699779a30dc09b3ecc8cf5998bae19b343.tar.gz opie-81946d699779a30dc09b3ecc8cf5998bae19b343.tar.bz2 |
think first, then commit .-)
-rwxr-xr-x | mkipks | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,37 +1,37 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | QTE_VERSION=2.3.3 | 3 | QTE_VERSION=2.3.3 |
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/S98opie | 8 | rm -f etc/rc2.d/S98opie |
9 | ln -s ../init.d/opie etc/rc2.d/S98opie | 9 | ln -s ../init.d/opie etc/rc2.d/S98opie |
10 | 10 | ||
11 | mkdir -p etc/rcS.d | 11 | mkdir -p etc/rcS.d |
12 | rm -f etc/rcS.d/S01bootsplash | 12 | rm -f etc/rcS.d/S01bootsplash |
13 | ln -s ../init.d/opie etc/rcS.d/S01bootsplash | 13 | ln -s ../init.d/bootsplash etc/rcS.d/S01bootsplash |
14 | 14 | ||
15 | rm -f ipaq/etc/rc2.d/S96opieatd | 15 | rm -f ipaq/etc/rc2.d/S96opieatd |
16 | ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd | 16 | ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd |
17 | 17 | ||
18 | 18 | ||
19 | 19 | ||
20 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 20 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
21 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 21 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
22 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) | 22 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
23 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) | 23 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
24 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h | 24 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
25 | then | 25 | then |
26 | VERSION_CVS="$(date +%Y%m%d)" | 26 | VERSION_CVS="$(date +%Y%m%d)" |
27 | SUB_VERSION=$VERSION_CVS | 27 | SUB_VERSION=$VERSION_CVS |
28 | else | 28 | else |
29 | VERSION_CVS="" | 29 | VERSION_CVS="" |
30 | fi | 30 | fi |
31 | 31 | ||
32 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT | 32 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
33 | 33 | ||
34 | ARCH=arm | 34 | ARCH=arm |
35 | STRIP=arm-linux-strip | 35 | STRIP=arm-linux-strip |
36 | STRIP_FILES="*ARM*not stripped" | 36 | STRIP_FILES="*ARM*not stripped" |
37 | 37 | ||