Changeset 1026 in MondoRescue
- Timestamp:
- Jan 3, 2007, 2:37:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.1/tools/build2pkg
r1025 r1026 126 126 # Et voila ! 127 127 elif [ _"$dfam" = _"slackware" ]; then 128 mkdir -p $TOPBUILDDIR/ install128 mkdir -p $TOPBUILDDIR/build-${p}/install 129 129 cd $TOPBUILDDIR 130 130 tar xfz $src 131 131 cd ${p}-${PVER} 132 mv distributions/${ddir}-$dver/slack-* $TOPBUILDDIR/ install132 mv distributions/${ddir}-$dver/slack-* $TOPBUILDDIR/build-${p}/install 133 133 if [ -e distributions/${ddir}-$dver/doinst.sh ]; then 134 mv distributions/${ddir}-$dver/doinst.sh $TOPBUILDDIR/ install134 mv distributions/${ddir}-$dver/doinst.sh $TOPBUILDDIR/build-${p}/install 135 135 fi 136 136 if [ _"$p" = _"mindi-busybox" ]; then 137 137 make oldconfig 138 138 make busybox 139 DESTDIR=$TOPBUILDDIR/ usr/lib/mindi/rootfs139 DESTDIR=$TOPBUILDDIR/build-${p}/usr/lib/mindi/rootfs 140 140 make PREFIX=$DESTDIR install 141 141 elif [ _"$p" = _"mindi" ]; then 142 142 export DONT_RELINK=1 143 export HEAD=$TOPBUILDDIR 143 export HEAD=$TOPBUILDDIR/build-${p} 144 144 export PREFIX=/usr 145 145 export CONFDIR=/etc … … 152 152 ./configure --prefix=/usr 153 153 make VERSION=$PVER 154 make DESTDIR=$TOPBUILDDIR install154 make DESTDIR=$TOPBUILDDIR/build-${p} install 155 155 elif [ _"$p" = _"mondo-doc" ]; then 156 156 make -f Makefile.man VERSION=$PVER 157 157 make -f Makefile.howto VERSION=$PVER 158 make -f Makefile.man install INSTALLDIR=$TOPBUILDDIR/ usr/doc/$p-${PVER}159 make -f Makefile.howto install INSTALLDIR=$TOPBUILDDIR/ usr/doc/$p-${PVER}158 make -f Makefile.man install INSTALLDIR=$TOPBUILDDIR/build-${p}/usr/doc/$p-${PVER} 159 make -f Makefile.howto install INSTALLDIR=$TOPBUILDDIR/build-${p}/usr/doc/$p-${PVER} 160 160 else 161 161 echo "Package $p not configured for $dfam" 162 162 fi 163 cd $TOPBUILDDIR 164 rm -rf src 163 cd $TOPBUILDDIR/build-${p} 165 164 ar=`arch` 166 165 pkg1=$p-${PVER}-${ar}-${TAG}mr.tgz 167 sudo "/sbin/makepkg -p -l -c $pkg1"166 sudo /sbin/makepkg -p -l -c $pkg1 168 167 export pkg="$pkg $pkg1" 169 168 else
Note:
See TracChangeset
for help on using the changeset viewer.