[Mud-builder-users] pegasus-mobile-notetaker.xml

Danny Milosavljevic danny.milo at scratchpost.org
Thu Apr 8 01:54:52 EEST 2010


Hi,

Just in case someone runs into the same problem:
the fix for my debian build problem was to use "dh_gencontrol" instead of "dpkg-gencontrol" and "dh_builddeb" instead of "dpkg-build" and doing both only after "dh_md5sums".

So the official working "pegasus-mobile-notetaker.xml" is:

<?xml version="1.0"?>
<package>
  <fetch type="tarball">
    <url>http://mesh.dl.sourceforge.net/sourceforge/pen-driver/pegasus-mobile-notetaker-0.3.3.TAR.GZ</url>
  </fetch>
  <deb>
    <icon>http://pen-driver.sourceforge.net/favicon.ico</icon>
    <description>download the stored notes off the Pegasus Mobile Notetaker device\nTools for downloading the stored notes off the Pegasus Mobile Notetaker device (or compatible: IOGEAR etc).</description>
    <section>user/communication</section>
  </deb>
</package>

If anyone wants to add that to MUD, feel free :-)

I still needed to apply a tiny patch to MUD:

--- lib/MUD/Fetch/Tarball.pm~	2010-04-08 01:41:21.000000000 +0200
+++ lib/MUD/Fetch/Tarball.pm	2010-04-08 01:40:13.000000000 +0200
@@ -100,13 +100,13 @@ sub unpack {
     my @args  = ($file);
     $_ = $file;
 
-    if (s/\.tar\.gz$// or s/\.tgz$//) {
+    if (s/\.tar\.gz$//i or s/\.tgz$//i) {
 	unshift @args, 'tar', 'xzf';
 
-    } elsif (s/\.tar\.bz2$//) {
+    } elsif (s/\.tar\.bz2$//i) {
         unshift @args, 'tar', 'xjf';
 
-    } elsif (s/\.zip$//) {
+    } elsif (s/\.zip$//i) {
         unshift @args, 'unzip';
 
     } else {

Now it works :-)

cheers,
    Danny



More information about the Mud-builder-users mailing list