1
0

Makefile 1.0 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:= portmap
  5. PKG_VERSION:= 6.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ac108ab68bf0f34477f8317791aaf1ff
  8. PKG_DESCR:= RPC portmapper
  9. PKG_SECTION:= net/misc
  10. PKG_URL:= http://neil.brown.name/portmap/
  11. PKG_SITES:= http://neil.brown.name/portmap/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  13. WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,PORTMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. MAKE_FLAGS+= NO_TCP_WRAPPER=1
  19. TARGET_CPPFLAGS+= -DDAEMON_UID=20 -DDAEMON_GID=20
  20. TARGET_CFLAGS+= -fPIC
  21. MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \
  22. CFLAGS='${TARGET_CFLAGS}'
  23. do-install:
  24. ${INSTALL_DIR} ${IDIR_PORTMAP}/usr/sbin
  25. ${INSTALL_BIN} ${WRKBUILD}/portmap ${IDIR_PORTMAP}/usr/sbin
  26. include ${TOPDIR}/mk/pkg-bottom.mk