author | kergoth <kergoth> | 2003-01-24 02:26:29 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-01-24 02:26:29 (UTC) |
commit | 8b2c18bb978c58de817ee163715f1e21982380a0 (patch) (side-by-side diff) | |
tree | 6f8ab2a4778292d3cd3f9fbd6d5bf74c46f034a5 /mkipks | |
parent | 039367f738688f9484a487db8720a5bd2ad5878f (diff) | |
download | opie-8b2c18bb978c58de817ee163715f1e21982380a0.zip opie-8b2c18bb978c58de817ee163715f1e21982380a0.tar.gz opie-8b2c18bb978c58de817ee163715f1e21982380a0.tar.bz2 |
Adjust package builds to handle the new lib paths
-rwxr-xr-x | mkipks | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -98,64 +98,68 @@ do conflicts=$(sed -n -e "s/^Conflicts: *//p" $i) license=$(sed -n -e "s/^License: *//p" $i) summary=$(sed -n -e "s/^Description: *//p" $i) package=${packagename}_${version}_$ARCH ERROR= if [ -z "$files" ] 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) ;; root/*) BASE=$(dirname ${ff#root}) + ;; lib/*) + BASE=$(dirname /opt/QtPalmtop/$ff) + ;; $OPIEDIR/lib/*) + BASE=$(dirname /opt/QtPalmtop/${ff#$OPIEDIR/}) ;; *) # 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 if cp -a $ff $D then true else ERROR=1 fi fi else |