1
0

Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS+= libmix
  18. endif
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,GPM,gpm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. AUTOTOOL_STYLE:= autogen
  22. TARGET_CPPFLAGS+= -I${WRKSRC}/src/headers
  23. gpm-install:
  24. ${INSTALL_DIR} ${IDIR_GPM}/usr/sbin ${IDIR_GPM}/usr/lib
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/gpm ${IDIR_GPM}/usr/sbin/
  26. ${CP} ${WRKINST}/usr/lib/libgpm.so.* ${IDIR_GPM}/usr/lib/
  27. include ${TOPDIR}/mk/pkg-bottom.mk