4 [ -z "$components" ] && components="eet evas ecore embryo edje python-evas python-ecore python-edje"
6 export SBOX_DEFAULT_AUTOMAKE=1.8
8 for component in $components ; do
9 echo "===== $component: preparing sources ====="
11 svn export https://garage.maemo.org/svn/maemo-efl/trunk/$component
13 tar -zxf ../${component}_*.orig.tar.gz --strip-path 1
14 #if [ -d debian/patches ] ; then
18 #if [ -f configure.in ] ; then
22 PKG_VER=`dpkg-parsechangelog | sed -n 's/Version: //p'`
23 for build_variant in n770 n8x0 ; do
24 # set build_variant suffix
25 NEW_VER=`echo $PKG_VER | sed 's/\([^-]\+-maemo\.[0-9]\+\).*/\1.n770/'`
26 sed -ie "s/$PKG_VER.*)/$NEW_VER)/" debian/changelog
27 rm -f debian/changeloge
28 echo "===== building $component package for $build_variant ====="
29 # FIXME: install build dependencies here
30 DEB_BUILD_OPTIONS=$build_variant dpkg-buildpackage -rfakeroot -us -uc -sa -D || exit