summaryrefslogtreecommitdiffstats
path: root/recipe.d/0036-rpm
diff options
context:
space:
mode:
Diffstat (limited to 'recipe.d/0036-rpm')
-rw-r--r--recipe.d/0036-rpm22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipe.d/0036-rpm b/recipe.d/0036-rpm
new file mode 100644
index 0000000..7405771
--- /dev/null
+++ b/recipe.d/0036-rpm
@@ -0,0 +1,22 @@
+ mcd $BUILDDIR/rpm
+ $SRC/rpm-*/configure $TCONFIGARGS \
+ --build=armv7hl-redhat-linux-gnueabi \
+ --host=armv7hl-redhat-linux-gnueabi \
+ --target=armv7hl-redhat-linux-gnueabi \
+ CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss3" \
+ --libdir=/usr/lib \
+ --with-external-db \
+ --disable-static \
+ --without-lua
+ make $J
+ make $J install
+ mkdir -p /etc/rpm
+ mkdir -p /var/lib/rpm
+ for dbi in \
+ Basenames Conflictname Dirnames Group Installtid Name Obsoletename \
+ Packages Providename Requirename Triggername Sha1header Sigmd5 \
+ __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
+ __db.008 __db.009
+ do
+ touch /var/lib/rpm/$dbi
+ done