1
0

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:= lsof
  5. PKG_VERSION:= 4.83
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 243089ccf3672c64b33ec8c9ef2a2a48
  8. PKG_DESCR:= list open files
  9. PKG_SECTION:= misc
  10. PKG_URL:= http://people.freebsd.org/~abe/
  11. PKG_SITES:= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
  12. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  13. WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}/${PKG_NAME}_${PKG_VERSION}_src
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LSOF,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_PROG:= Configure
  17. CONFIG_STYLE:= minimal
  18. CONFIGURE_ARGS+= -n linux
  19. XAKE_FLAGS+= CC='${TARGET_CC}'
  20. INSTALL_STYLE:= manual
  21. post-extract:
  22. (cd ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}; \
  23. tar xf ${PKG_NAME}_${PKG_VERSION}_src.tar)
  24. do-install:
  25. $(INSTALL_DIR) $(IDIR_LSOF)/usr/sbin
  26. $(INSTALL_BIN) $(WRKBUILD)/lsof \
  27. $(IDIR_LSOF)/usr/sbin
  28. include ${TOPDIR}/mk/pkg-bottom.mk