svn export https://garage.maemo.org/svn/maemo-efl/trunk/$component
cd $component
tar -zxf ../${component}_*.orig.tar.gz --strip-path 1
- #if [ -d debian/patches ] ; then
- # quilt pop -a -f
- # quilt push -a
- #fi
- #if [ -f configure.in ] ; then
- # automake
- # autoconf
- #fi
PKG_VER=`dpkg-parsechangelog | sed -n 's/Version: //p'`
for build_variant in n770 n8x0 ; do
# set build_variant suffix
rm -f debian/changeloge
echo "===== building $component package for $build_variant ====="
# FIXME: install build dependencies here
+ fakeroot dpkg -i ../*$build_variant*deb
DEB_BUILD_OPTIONS=$build_variant dpkg-buildpackage -rfakeroot -us -uc -sa -D || exit
done
cd ..