Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= 1
  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,$(PKG_NAME),$(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. post-install:
  20. $(INSTALL_DIR) $(IDIR_FINDUTILS)/usr/bin
  21. $(INSTALL_BIN) $(WRKINST)/usr/bin/{find,oldfind,xargs} \
  22. $(IDIR_FINDUTILS)/usr/bin
  23. ${INSTALL_DIR} ${IDIR_LOCATE}/usr/{bin,libexec}
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/{locate,updatedb} ${IDIR_LOCATE}/usr/bin/
  25. $(INSTALL_BIN) $(WRKINST)/usr/libexec/{bigram,code,frcode} \
  26. $(IDIR_LOCATE)/usr/libexec
  27. include ${TOPDIR}/mk/pkg-bottom.mk