Changeset 1033


Ignore:
Timestamp:
Jan 4, 2007, 1:49:33 AM (13 years ago)
Author:
bruno
Message:

mindi-busybox ebuild really simplified !

Location:
branches/2.2.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.1/mindi-busybox/distributions/gentoo/mindi-busybox.ebuild

    r1032 r1033  
    2929    # bundle up the symlink files for use later
    3030    emake PREFIX="${D}/usr/share/mindi/rootfs" install || die
    31     rm _install/bin/busybox
    32     tar cf busybox-links.tar -C _install . || die
    33     insinto /usr/share/mindi
    34     doins busybox-links.tar || die
    3531}
    36 
    37 pkg_preinst() {
    38     mv "${D}"/usr/share/mindi/busybox-links.tar "${T}"/ || die
    39 }
    40 
    41 pkg_postinst() {
    42     cd "${T}" || die
    43     mkdir _install
    44     tar xf busybox-links.tar -C _install || die
    45     cp -vpPR _install/* /usr/share/mindi/rootfs/bin || die "copying links for ${x} failed"
    46 
    47     echo
    48 }
  • branches/2.2.1/tools/pkg2mdv

    r1032 r1033  
    1818. $TOOLHOME/distro-env
    1919. $TOOLHOME/mdv-env
     20
     21export LANGUAGE="C"
    2022
    2123# We need to get $VER and $TAG
     
    7274    svn add SOURCES/$p-$newver.tar.bz2
    7375    # Use mkrel for mdv
    74     perl -pi -e "s/^Release:[ \t]+..*/Release:  %mkrel $tag/" SPECS/$p.spec
     76    perl -pi -e "s/^Release:[ \t]+..*/Release:  %mkrel $TAG/" SPECS/$p.spec
     77    perl -pi -e "s/^Release:/Packager:  Bruno Cornec <bcornec@mandriva.org>\nRelease:/" SPECS/$p.spec
    7578    perl -pi -e 's/mindi >= ..*,/mindi/' SPECS/$p.spec
    7679    $TOOLHOME/mdv-changelog.pl SPECS/$p.spec
     
    8689            rm -f $MONDOTMP/cmt.spec
    8790            echo "Building on Mandriva's cluster"
    88             ssh -q $ACCOUNT $DSTNODE "yr $p"
     91            rev=`svn info | egrep "^Revision:" | cut -d: -f2`
     92            repsys submit svn+ssh://svn.mandriva.com/svn/packages/cooker/$p $rev
    8993        fi
    9094    fi
Note: See TracChangeset for help on using the changeset viewer.