Changeset 1023 in MondoRescue
- Timestamp:
- Jan 2, 2007, 7:41:15 PM (18 years ago)
- Location:
- branches/2.2.1/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.1/tools/build2pkg
r924 r1023 115 115 status=-1 116 116 fi 117 export pkg="$pkg $p-${PVER}.ebuild" 117 118 elif [ _"$dtype" = _"deb" ]; then 118 119 cd $TOPBUILDDIR … … 122 123 ln -s distributions/${ddir}-$dver debian 123 124 dpkg-buildpackage -us -uc -rfakeroot 125 export pkg="$pkg $p-${PVER}.deb" 124 126 # 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" 125 164 else 126 165 echo "Unknown" -
branches/2.2.1/tools/distro-env
r1022 r1023 83 83 suf=".${ddir}${dver1}" 84 84 elif [ $ddir = "slackware" ]; then 85 dfam="slack "85 dfam="slackware" 86 86 dtype="tgz" 87 87 suf=".${dfam}${dver}" -
branches/2.2.1/tools/svn2build
r1006 r1023 84 84 elif [ "$dtype" = "ebuild" ]; then 85 85 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 86 88 elif [ "$dtype" = "deb" ]; then 87 89 cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver
Note:
See TracChangeset
for help on using the changeset viewer.