Changeset 1025


Ignore:
Timestamp:
Jan 3, 2007, 12:52:15 AM (13 years ago)
Author:
bruno
Message:

Some other fixes for Slackware 10.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.1/tools/build2pkg

    r1024 r1025  
    126126        # Et voila !
    127127    elif [  _"$dfam" = _"slackware" ]; then
    128         mkdir $TOPBUILDDIR/install
     128        mkdir -p $TOPBUILDDIR/install
    129129        cd $TOPBUILDDIR
    130130        tar xfz $src
    131131        cd ${p}-${PVER}
    132132        mv distributions/${ddir}-$dver/slack-* $TOPBUILDDIR/install
    133         mv distributions/${ddir}-$dver/doinst.sh $TOPBUILDDIR/install
     133        if [ -e distributions/${ddir}-$dver/doinst.sh ]; then
     134            mv distributions/${ddir}-$dver/doinst.sh $TOPBUILDDIR/install
     135        fi
    134136        if [ _"$p" = _"mindi-busybox" ]; then
    135137            make oldconfig
     
    148150            ./install.sh
    149151        elif [ _"$p" = _"mondo" ]; then
    150             make VERSION=VVV
     152            ./configure --prefix=/usr
     153            make VERSION=$PVER
    151154            make DESTDIR=$TOPBUILDDIR install
    152155        elif [ _"$p" = _"mondo-doc" ]; then
     
    162165        ar=`arch`
    163166        pkg1=$p-${PVER}-${ar}-${TAG}mr.tgz
    164         sudo "makepkg $pkg1"
     167        sudo "/sbin/makepkg -p -l -c $pkg1"
    165168        export pkg="$pkg $pkg1"
    166169    else
Note: See TracChangeset for help on using the changeset viewer.