#!/bin/sh
#unpacks a pile of ipkgs to generate the corresponding build tree

IPKGDIR=/cdimages/mirror/psilinux/PFN
BUILDDIR=/home/aleph1/armlinux/boards/psion/5mx/PFN/build

for file in $IPKGDIR/*; do
  echo $file
  (cd $BUILDDIR; ipkg-unbuild $file; )
done