Makefile 1004 B

12345678910111213141516171819202122232425262728293031
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= gpm
  5. PKG_VERSION:= 1.20.7
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= c7e4661c24e05ae13547176b649bac8e3a0db2575f7dd57559f9e0b509f90f49
  8. PKG_DESCR:= console mouse support
  9. PKG_SECTION:= sys/hw
  10. PKG_URL:= http://launchpad.net/gpm
  11. PKG_SITES:= http://www.nico.schottelius.org/software/gpm/archives/
  12. PKG_NOPARALLEL:= 1
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,GPM,gpm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. AUTOTOOL_STYLE:= autogen
  18. TARGET_CPPFLAGS+= -I${WRKSRC}/src/headers
  19. gpm-install:
  20. ${INSTALL_DIR} ${IDIR_GPM}/usr/sbin ${IDIR_GPM}/usr/lib
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/gpm ${IDIR_GPM}/usr/sbin/
  22. ${CP} ${WRKINST}/usr/lib/libgpm.so.* ${IDIR_GPM}/usr/lib/
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk