patching removed from the script. workaround for installing build-deps added
authored_ <bartosh@gmail.com>
Sun, 9 Dec 2007 16:53:22 +0000 (16:53 +0000)
committered_ <bartosh@gmail.com>
Sun, 9 Dec 2007 16:53:22 +0000 (16:53 +0000)
trunk/scripts/build.sh

index 32e2b74..8d6ec0d 100755 (executable)
@@ -11,14 +11,6 @@ for component in $components ; do
        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
@@ -27,6 +19,7 @@ for component in $components ; do
                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 ..