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