219cf75ed6
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/rpm#c691aaf8092e0eb8ca642378cde1c70a6f89570c
35 lines
612 B
Plaintext
35 lines
612 B
Plaintext
#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
|