author | sandman <sandman> | 2002-05-31 03:58:18 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-05-31 03:58:18 (UTC) |
commit | ba2fed3f085f2b1878565d16b4c20d2b14b9fbfb (patch) (unidiff) | |
tree | 1d809319da37af7d0e01564b7a9c8f34409e33e7 | |
parent | bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e (diff) | |
download | opie-ba2fed3f085f2b1878565d16b4c20d2b14b9fbfb.zip opie-ba2fed3f085f2b1878565d16b4c20d2b14b9fbfb.tar.gz opie-ba2fed3f085f2b1878565d16b4c20d2b14b9fbfb.tar.bz2 |
Initial commit of opiealarm/opieatd
Added to main Makefile
Added link generation to mkipks
Patch for mkipks to support Conflicts/Provides
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | mkipks | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -42,13 +42,13 @@ APPS=$(LOCALAPPS) core/addressbook calculator clock datebook \ | |||
42 | todo wordgame embeddedkonsole launcher sysinfo \ | 42 | todo wordgame embeddedkonsole launcher sysinfo \ |
43 | parashoot snake citytime showimg netsetup core/wlansetup tableviewer \ | 43 | parashoot snake citytime showimg netsetup core/wlansetup tableviewer \ |
44 | core/oipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \ | 44 | core/oipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \ |
45 | noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey noncore/qpdf \ | 45 | noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey noncore/qpdf \ |
46 | noncore/kpacman noncore/advancedfm noncore/kbill noncore/remote noncore/opie-sh | 46 | noncore/kpacman noncore/advancedfm noncore/kbill noncore/remote noncore/opie-sh |
47 | 47 | ||
48 | NONTMAKEAPPS := noncore/nethack | 48 | NONTMAKEAPPS := ipaq/opiealarm noncore/nethack |
49 | 49 | ||
50 | DOCS = docs/src/opie-policy | 50 | DOCS = docs/src/opie-policy |
51 | single: mpegplayer/libmpeg3 | 51 | single: mpegplayer/libmpeg3 |
52 | 52 | ||
53 | dynamic: $(APPS) $(NONTMAKEAPPS) | 53 | dynamic: $(APPS) $(NONTMAKEAPPS) |
54 | 54 | ||
@@ -5,12 +5,15 @@ 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 | rm -f ipaq/etc/rc2.d/S96opieatd | ||
12 | ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd | ||
13 | |||
11 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 14 | 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) | 15 | 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) | 16 | 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) | 17 | 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 | 18 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
16 | then | 19 | then |
@@ -189,13 +192,13 @@ do | |||
189 | echo "Installed-Size: $size" >>$CTRLDIR/control | 192 | echo "Installed-Size: $size" >>$CTRLDIR/control |
190 | echo "Filename: ./$package.ipk" >>$CTRLDIR/control | 193 | echo "Filename: ./$package.ipk" >>$CTRLDIR/control |
191 | echo "Version: $version" >>$CTRLDIR/control | 194 | echo "Version: $version" >>$CTRLDIR/control |
192 | echo "Depends: $depends" >>$CTRLDIR/control | 195 | echo "Depends: $depends" >>$CTRLDIR/control |
193 | echo "Provides: $provides" >>$CTRLDIR/control | 196 | echo "Provides: $provides" >>$CTRLDIR/control |
194 | echo "Conflicts: $conflicts" >>$CTRLDIR/control | 197 | echo "Conflicts: $conflicts" >>$CTRLDIR/control |
195 | egrep -v "^(Files|Version|Depends):" >>$CTRLDIR/control $i | 198 | egrep -v "^(Files|Version|Depends|Provides|Conflicts):" >>$CTRLDIR/control $i |
196 | echo "$DEB_VERSION" >$TDIR/debian-binary | 199 | echo "$DEB_VERSION" >$TDIR/debian-binary |
197 | base=${i%.control} | 200 | base=${i%.control} |
198 | scripts="preinst postinst prerm postrm" | 201 | scripts="preinst postinst prerm postrm" |
199 | for pf in $scripts | 202 | for pf in $scripts |
200 | do | 203 | do |
201 | if [ -x ${base}.$pf ] | 204 | if [ -x ${base}.$pf ] |