Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/mkipks b/mkipks index 45f2fb2..dedb060 100755 --- a/ mkipks+++ b/ mkipks |
|
@@ -1,29 +1,30 @@ |
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 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
15 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
15 | then |
16 | then |
16 | VERSION_CVS="_$(date +%Y%m%d)" |
17 | VERSION_CVS="_$(date +%Y%m%d)" |
17 | else |
18 | else |
18 | VERSION_CVS="" |
19 | VERSION_CVS="" |
19 | fi |
20 | fi |
20 | |
21 | |
21 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
22 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
22 | |
23 | |
23 | ARCH=arm |
24 | ARCH=arm |
24 | STRIP=arm-linux-strip |
25 | STRIP=arm-linux-strip |
25 | STRIP_FILES="*Advanced RISC Machines ARM*not stripped" |
26 | STRIP_FILES="*Advanced RISC Machines ARM*not stripped" |
26 | |
27 | |
27 | TDIR=/tmp/ipk$$ |
28 | TDIR=/tmp/ipk$$ |
28 | DATADIR=$TDIR/data |
29 | DATADIR=$TDIR/data |
29 | CTRLDIR=$TDIR/control |
30 | CTRLDIR=$TDIR/control |
|