Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= findutils
  5. PKG_VERSION:= 4.4.2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 351cc4adb07d54877fa15f75fb77d39f
  8. PKG_DESCR:= GNU utilities for finding files
  9. PKG_SECTION:= utils
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://www.gnu.org/software/findutils/
  12. PKG_SITES:= http://ftp.gnu.org/pub/gnu/findutils/
  13. PKG_SUBPKGS:= FINDUTILS LOCATE
  14. PKGSD_LOCATE:= Locate utility
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,FINDUTILS,findutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LOCATE,locate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LOCATE},${PKG_SECTION}))
  18. CONFIGURE_ENV+= gl_cv_func_wcwidth_works=yes \
  19. ac_cv_func_working_mktime=yes
  20. findutils-install:
  21. $(INSTALL_DIR) $(IDIR_FINDUTILS)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/{find,oldfind,xargs} \
  23. $(IDIR_FINDUTILS)/usr/bin
  24. locate-install:
  25. ${INSTALL_DIR} ${IDIR_LOCATE}/usr/{bin,libexec}
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/{locate,updatedb} ${IDIR_LOCATE}/usr/bin/
  27. $(INSTALL_BIN) $(WRKINST)/usr/libexec/{bigram,code,frcode} \
  28. $(IDIR_LOCATE)/usr/libexec
  29. include ${TOPDIR}/mk/pkg-bottom.mk