Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= rpm
  5. PKG_VERSION:= 5.3.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7a5112fd208bfda7a1cab20b9ce17a02
  8. PKG_DESCR:= Package Manager
  9. PKG_SECTION:= base
  10. PKG_URL:= http://www.rpm.org/
  11. PKG_SITES:= http://rpm5.org/files/rpm/rpm-5.3/
  12. PKG_CFLINE_RPM:= depends on ADK_BROKEN
  13. PKG_HOST_DEPENDS:= !cygwin !darwin
  14. PKG_ARCH_DEPENDS:= !cris
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,RPM,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= ac_cv_va_copy=no
  18. CONFIGURE_ARGS+= --with-usecrypto=BeeCrypt \
  19. --with-beecrypt=internal \
  20. --with-db=external \
  21. --with-sqlite=none \
  22. --without-python \
  23. --without-perl \
  24. --without-ruby \
  25. --without-lua
  26. post-install:
  27. $(INSTALL_DIR) $(IDIR_RPM)/usr/bin $(IDIR_RPM)/usr/lib/rpm
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/rpm* $(IDIR_RPM)/usr/bin
  29. $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_RPM)/usr/lib
  30. $(CP) $(WRKINST)/usr/lib/rpm/* $(IDIR_RPM)/usr/lib/rpm
  31. include ${TOPDIR}/mk/pkg-bottom.mk