219cf7
#requires popt
219cf7
#requires nss-softokn
219cf7
#requires nss
219cf7
#requires file
219cf7
#requires libarchive
219cf7
#requires libdb4
219cf7
#requires redhat-rpm-config
219cf7
#requires lua
219cf7
#requires autoconf
219cf7
#requires pkgconfig
219cf7
219cf7
219cf7
(cd $SRC/rpm-*/ && autoreconf -vif)
219cf7
219cf7
mcd $BUILDDIR/rpm
219cf7
219cf7
$SRC/rpm-*/configure $TCONFIGARGS \
219cf7
	--build=${TARGET} \
219cf7
	--host=${TARGET} \
219cf7
	--target=${TARGET} \
219cf7
	CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss3 -DPACKAGE -DPACKAGE_VERSION" \
219cf7
	--libdir=/usr/lib${SUFFIX} \
219cf7
	--with-external-db \
219cf7
	--disable-static \
219cf7
	--with-lua \
219cf7
	--localstatedir=/var
219cf7
219cf7
make $J
219cf7
make $J install
219cf7
219cf7
mkdir -p /etc/rpm
219cf7
mkdir -p /var/lib/rpm
219cf7
219cf7
rpm --initdb