Changeset 1023


Ignore:
Timestamp:
Jan 2, 2007, 7:41:15 PM (13 years ago)
Author:
bruno
Message:

Slackware 10.2 built continue

Location:
branches/2.2.1/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.1/tools/build2pkg

    r924 r1023  
    115115            status=-1
    116116        fi
     117        export pkg="$pkg $p-${PVER}.ebuild"
    117118    elif [  _"$dtype" = _"deb" ]; then
    118119        cd $TOPBUILDDIR
     
    122123        ln -s distributions/${ddir}-$dver debian
    123124        dpkg-buildpackage -us -uc -rfakeroot
     125        export pkg="$pkg $p-${PVER}.deb"
    124126        # Et voila !
     127    elif [  _"$dfam" = _"slackware" ]; then
     128        mkdir $TOPBUILDDIR/src
     129        cd $TOPBUILDDIR/src
     130        tar xfz $src
     131        mv install ..
     132        if [ _"$p" = _"mindi-busybox" ]; then
     133            make oldconfig
     134            make busybox
     135            DESTDIR=$TOPBUILDDIR/usr/lib/mindi/rootfs
     136            make PREFIX=$DESTDIR install
     137        elif [ _"$p" = _"mindi" ]; then
     138            export DONT_RELINK=1
     139            export HEAD=$TOPBUILDDIR
     140            export PREFIX=/usr
     141            export CONFDIR=/etc
     142            export MANDIR=/usr/man
     143            export DOCDIR=/usr/doc
     144            export LIBDIR=/usr/lib
     145            export RPMBUILDMINDI="true"
     146            ./install.sh
     147        elif [ _"$p" = _"mondo" ]; then
     148            make VERSION=VVV
     149            make DESTDIR=$TOPBUILDDIR install
     150        elif [ _"$p" = _"mondo-doc" ]; then
     151            make -f Makefile.man VERSION=$PVER
     152            make -f Makefile.howto VERSION=$PVER
     153            make -f Makefile.man install INSTALLDIR=$TOPBUILDDIR/usr/doc/$p-${PVER}
     154            make -f Makefile.howto install INSTALLDIR=$TOPBUILDDIR/usr/doc/$p-${PVER}
     155        else
     156            echo "Package $p not configured for $dfam"
     157        fi
     158        cd $TOPBUILDDIR
     159        rm -rf src
     160        ar=`arch`
     161        pkg1=$p-${PVER}-${ar}-${TAG}mr.tgz
     162        sudo makepkg $pkg1
     163        export pkg="$pkg $pkg1"
    125164    else
    126165        echo "Unknown"
  • branches/2.2.1/tools/distro-env

    r1022 r1023  
    8383    suf=".${ddir}${dver1}"
    8484elif [ $ddir = "slackware" ]; then
    85     dfam="slack"
     85    dfam="slackware"
    8686    dtype="tgz"
    8787    suf=".${dfam}${dver}"
  • branches/2.2.1/tools/svn2build

    r1006 r1023  
    8484        elif [ "$dtype" = "ebuild" ]; then
    8585            m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v.ebuild
     86        elif [ "$dtype" = "tgz" ]; then
     87            m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/slack-desc > $dest/distributions/${ddir}-$dver/install/slack-dest
    8688        elif [ "$dtype" = "deb" ]; then
    8789            cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver
Note: See TracChangeset for help on using the changeset viewer.