app-misc/gnome-commander: more work on 1.3.0.99
authorLeonardo Valeri Manera <lvalerimanera@gmail.com>
Fri, 9 May 2008 18:46:20 +0000 (9 20:46 +0200)
committerLeonardo Valeri Manera <lvalerimanera@gmail.com>
Fri, 9 May 2008 18:46:20 +0000 (9 20:46 +0200)
app-misc/gnome-commander/Manifest
app-misc/gnome-commander/gnome-commander-1.3.0.99.ebuild

index c91ec42..74f733d 100644 (file)
@@ -1,3 +1,3 @@
 DIST gnome-commander-1.2.5.tar.bz2 1832358 RMD160 04494160f9f47bfd6f905b7b739bf288e2b40314 SHA1 3300f25b58c9e2efda974b1591d7e2e3ce0ef7e4 SHA256 db19c217c0ab6d814db2e114894b2bd1b28a2a186433ead0c8241cc198b30415
 EBUILD gnome-commander-1.2.5.ebuild 1320 RMD160 864c4af7e1af788afdd3fdd4b495184805f29f22 SHA1 650cbc7f9d70b3a801c3370531e8f063e0659471 SHA256 c2615ef14fa01865273bea3b1afc33a2bb43ee1eb26ecb243e062e6668322fe3
-EBUILD gnome-commander-1.3.0.99.ebuild 2145 RMD160 224460c297669e411f1970da451fe5a1ee56678c SHA1 84266d9ef846a9e53f9cb48ed20bee7ee6686f25 SHA256 f392731620ddfec6e7a13c99bd8d13c5c1def9a8ff79176ce29bfbb7e0fe9d48
+EBUILD gnome-commander-1.3.0.99.ebuild 2336 RMD160 d7b208e0c5b4b73c80e398c6daa08885122a708b SHA1 2c1d78becff584179bf77c2bccc7b33f0f0a4193 SHA256 a4f1ee32fb822be1f28d0fa8ff62c71713c08c174d4939b1e9c0f25ecddb75fc
index 6e1e328..f178b44 100644 (file)
@@ -43,6 +43,15 @@ DEPEND="${RDEPEND}
 
 DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
 
+run_config() {
+       local ret config_command="${1}"
+       ebegin "Running ${config_command}"
+       ${config_command} &>/dev/null
+       ret=${?}
+       eend ${ret}
+       return ${ret}
+}
+
 pkg_setup() {
        G2CONF=" ${G2CONF}
                         $(use_with   chm    chmlib)
@@ -66,12 +75,16 @@ src_unpack() {
        rm -rf autom4te.cache
 
        elibtoolize ${ELTCONF} || die "elibtoolize failed"
-       eaclocal || die "aclocal failed"
-       glib-gettextize --force --copy || die "glib-gettextize failed"
+
+       run_config "glib-gettextize --force --copy" || \
+               die "glib-gettextize failed"
        cp "${ROOT}"/usr/share/intltool/intltool-update.in .
-       intltoolize --force --copy --automake || die "intltoolize failed"
-       gnome-doc-common --copy || die "gnome-doc-common failed"
-       gnome-doc-prepare --force --copy || die "gnome-doc-prepare failed"
+       run_config "intltoolize --force --copy --automake" || \
+               die "intltoolize failed"
+       run_config "gnome-doc-common --copy" || \
+               die "gnome-doc-common failed"
+       run_config "gnome-doc-prepare --force --copy" || \
+               die "gnome-doc-prepare failed"
        eaclocal || die "aclocal failed"
        eautoconf || die "autoconf failed"
        eautoheader || die "autoheader failed"