-rwxr-xr-x | mkipks | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,37 +1,37 @@ #!/bin/sh QTE_VERSION=2.3.4 DEB_VERSION=2.0 # Have to do this here, since CVS can't store symlinks mkdir -p $OPIEDIR/etc/rc2.d ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie mkdir -p $OPIEDIR/etc/rcS.d ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash -ln -sf ../init.d/opieatd $OPIEDIR/ipaq/etc/rc2.d/S96opieatd +ln -sf ../init.d/opieatd $OPIEDIR/root/etc/rc2.d/S96opieatd 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 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" SUB_VERSION=$VERSION_CVS else VERSION_CVS="" fi QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT ARCH=arm STRIP=arm-linux-strip STRIP_FILES="*ARM*not stripped" TDIR=/tmp/ipk$$ DATADIR=$TDIR CTRLDIR=$TDIR/CONTROL @@ -109,50 +109,50 @@ do then mkdir -p $DATADIR/usr/share/doc/$packagename else for f in $files do if [ -d $f ] then ffiles=$(find $f -type f -o -type b -o -type c -o -type l) else ffiles=$f fi for ff in $ffiles do case $ff in */CVS/*) continue ;; *~) continue ;; *.control) continue ;; $QTDIR/*) BASE=$(dirname /opt/QtPalmtop/${ff#$QTDIR/}) ;; etc/*.d/*) BASE=$(dirname /$ff) - ;; ipaq/*) - BASE=$(dirname ${ff#ipaq}) + ;; root/*) + BASE=$(dirname ${ff#root}) ;; *) # For SHARP ROM compatibility. Should change to Qtopia. BASE=/opt/QtPalmtop/$(dirname $ff) esac if [ -f $ff -o -b $ff -o -c $ff ] then D=$DATADIR$BASE if [ -x $ff -a -n "$STRIP" ] then case $(file $ff) in $STRIP_FILES) $STRIP $ff ;; *) esac fi if [ -n "$RPM" ] then case "$ff" in /*) RPMFILES="$RPMFILES $ff" ;; *) RPMFILES="$RPMFILES $OPIEDIR/$ff" esac else mkdir -p $D |