summaryrefslogtreecommitdiff
path: root/package/rpm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-14 21:30:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-14 21:30:37 +0100
commit57d44e3bc19390598a3a3cd8368d29344975f1f7 (patch)
tree73a2cf496f357b66ab2d510973b158766b440f8c /package/rpm
parent8f2b3b1ede5e537724594f36bbdd22f878708055 (diff)
allow cross-compile on Darwin, remove broken rpm package (unused).
Diffstat (limited to 'package/rpm')
-rw-r--r--package/rpm/Makefile39
-rw-r--r--package/rpm/patches/patch-configure11
2 files changed, 0 insertions, 50 deletions
diff --git a/package/rpm/Makefile b/package/rpm/Makefile
deleted file mode 100644
index 566b56251..000000000
--- a/package/rpm/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:= rpm
-PKG_VERSION:= 5.3.5
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 7a5112fd208bfda7a1cab20b9ce17a02
-PKG_DESCR:= Package Manager
-PKG_SECTION:= base
-PKG_URL:= http://www.rpm.org/
-PKG_SITES:= http://rpm5.org/files/rpm/rpm-5.3/
-
-PKG_CFLINE_RPM:= depends on ADK_BROKEN
-PKG_HOST_DEPENDS:= !cygwin !darwin
-PKG_ARCH_DEPENDS:= !cris
-
-include $(TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,RPM,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-CONFIGURE_ENV+= ac_cv_va_copy=no
-CONFIGURE_ARGS+= --with-usecrypto=BeeCrypt \
- --with-beecrypt=internal \
- --with-db=external \
- --with-sqlite=none \
- --without-python \
- --without-perl \
- --without-ruby \
- --without-lua
-
-post-install:
- $(INSTALL_DIR) $(IDIR_RPM)/usr/bin $(IDIR_RPM)/usr/lib/rpm
- $(INSTALL_BIN) $(WRKINST)/usr/bin/rpm* $(IDIR_RPM)/usr/bin
- $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_RPM)/usr/lib
- $(CP) $(WRKINST)/usr/lib/rpm/* $(IDIR_RPM)/usr/lib/rpm
-
-include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rpm/patches/patch-configure b/package/rpm/patches/patch-configure
deleted file mode 100644
index e5e2a854c..000000000
--- a/package/rpm/patches/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- rpm-5.3.5.orig/configure 2010-10-25 18:35:18.000000000 +0200
-+++ rpm-5.3.5/configure 2011-01-21 22:37:21.147399617 +0100
-@@ -17673,7 +17673,7 @@ if test "${enable_build_debug+set}" = se
- fi
-
- if test ".`$CC --version 2>&1 | grep 'GCC'`" != .; then
-- for c in -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fstack-protector -fexceptions -fnested-functions
-+ for c in -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fexceptions -fnested-functions
- do
- my_save_cflags="$CFLAGS"
- CFLAGS=$c