From b0b7f20ef8c8096ccb70fcdaf946cb40e1d407d1 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Nov 04 2015 15:39:20 +0000 Subject: Adding STAGE2 bootstrap recipe --- diff --git a/STAGE2-rpm b/STAGE2-rpm new file mode 100644 index 0000000..b2dcd2a --- /dev/null +++ b/STAGE2-rpm @@ -0,0 +1,34 @@ +#requires popt +#requires nss-softokn +#requires nss +#requires file +#requires libarchive +#requires libdb4 +#requires redhat-rpm-config +#requires lua +#requires autoconf +#requires pkgconfig + + +(cd $SRC/rpm-*/ && autoreconf -vif) + +mcd $BUILDDIR/rpm + +$SRC/rpm-*/configure $TCONFIGARGS \ + --build=${TARGET} \ + --host=${TARGET} \ + --target=${TARGET} \ + CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss3 -DPACKAGE -DPACKAGE_VERSION" \ + --libdir=/usr/lib${SUFFIX} \ + --with-external-db \ + --disable-static \ + --with-lua \ + --localstatedir=/var + +make $J +make $J install + +mkdir -p /etc/rpm +mkdir -p /var/lib/rpm + +rpm --initdb