Makefile 806 B

123456789101112131415161718192021222324252627282930
  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:= strace
  5. PKG_VERSION:= 4.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e537b2b1afeec70c0e6e27a0d0fd671e
  8. PKG_DESCR:= System call trace program
  9. PKG_SECTION:= debug
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=strace/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,STRACE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. ifeq ($(ADK_STATIC),y)
  15. TARGET_CFLAGS+= -static
  16. endif
  17. INSTALL_STYLE:= manual
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_STRACE}/usr/sbin
  20. ${INSTALL_BIN} ${WRKBUILD}/strace ${IDIR_STRACE}/usr/sbin
  21. include ${TOPDIR}/mk/pkg-bottom.mk