-rwxr-xr-x | mkipks | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,29 +1,30 @@ #!/bin/sh QTE_VERSION=2.3.2 DEB_VERSION=2.0 # Have to do this here, since CVS can't store symlinks mkdir -p etc/rc2.d rm -f etc/rc2.d/S98qpe ln -s ../init.d/qpe etc/rc2.d/S98qpe VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) +SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h then VERSION_CVS="_$(date +%Y%m%d)" else VERSION_CVS="" fi QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT ARCH=arm STRIP=arm-linux-strip STRIP_FILES="*Advanced RISC Machines ARM*not stripped" TDIR=/tmp/ipk$$ DATADIR=$TDIR/data CTRLDIR=$TDIR/control |