Makefile 937 B

1234567891011121314151617181920212223242526272829303132
  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:= gpm
  5. PKG_VERSION:= 1.20.6
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= b75e794bfb9fe8114d0b083932673b8f
  8. PKG_DESCR:= console mouse support
  9. PKG_SECTION:= misc
  10. PKG_URL:= http://launchpad.net/gpm
  11. PKG_SITES:= http://launchpad.net/gpm/main/${PKG_VERSION}/+download/
  12. PKG_NOPARALLEL:= 1
  13. PKG_OPTS:= dev
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS+= libmix
  16. endif
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,GPM,gpm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. TARGET_CPPFLAGS+= -I${WRKSRC}/src/headers
  20. gpm-install:
  21. ${INSTALL_DIR} ${IDIR_GPM}/usr/sbin ${IDIR_GPM}/usr/lib
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/gpm ${IDIR_GPM}/usr/sbin/
  23. ${CP} ${WRKINST}/usr/lib/libgpm.so.* ${IDIR_GPM}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk