Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= 4.7.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 74791d638c571ec79f06227d453a6a03
  8. PKG_DESCR:= GNU rpm
  9. PKG_SECTION:= base
  10. PKG_URL:= http://www.rpm.org
  11. PKG_SITES:= http://rpm.org/releases/rpm-4.7.x/
  12. DISTFILES:= ${PKG_NAME}-$(PKG_VERSION).tar.bz2
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,RPM,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. TCPPFLAGS+= -I${STAGING_DIR}/usr/include/nspr \
  16. -I${STAGING_DIR}/usr/include/nss
  17. CONFIGURE_STYLE:= gnu
  18. CONFIGURE_ARGS:= --with-external-db \
  19. --without-lua
  20. BUILD_STYLE:= auto
  21. INSTALL_STYLE:= auto
  22. post-install:
  23. $(INSTALL_DIR) $(IDIR_RPM)/usr/bin $(IDIR_RPM)/usr/lib
  24. $(INSTALL_DIR) $(IDIR_RPM)/usr/lib/rpm
  25. $(INSTALL_BIN) $(WRKINST)/bin/rpm $(IDIR_RPM)/usr/bin
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/rpm* $(IDIR_RPM)/usr/bin
  27. $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_RPM)/usr/lib
  28. $(CP) $(WRKINST)/usr/lib/rpm/* $(IDIR_RPM)/usr/lib/rpm
  29. include ${TOPDIR}/mk/pkg-bottom.mk