Makefile 997 B

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