Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. # FIXME: test this port with some libc different from glibc
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,FINDUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. # the following prevents gnulib from defining it's own fseeko (which conflicts with the libc one)
  18. CONFIGURE_ENV+= gl_cv_func_wcwidth_works=yes
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. post-install:
  22. $(INSTALL_DIR) $(IDIR_FINDUTILS)/usr/{s,}bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/{find,locate,oldfind,updatedb,xargs} $(IDIR_FINDUTILS)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/sbin/{bigram,code,frcode} $(IDIR_FINDUTILS)/usr/sbin
  25. include ${TOPDIR}/mk/pkg-bottom.mk