Changeset 1023 in MondoRescue for branches/2.2.1/tools/build2pkg
- Timestamp:
- Jan 2, 2007, 7:41:15 PM (18 years ago)
- File:
-
- 1 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"
Note:
See TracChangeset
for help on using the changeset viewer.