Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME= gkrellmd
  7. PKG_VERSION= 2.2.10
  8. PKG_RELEASE= 7
  9. PKG_MD5SUM= 518666ce4c2ef5a7db637683778fe18b
  10. MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellm/
  11. DISTFILES= gkrellm-${PKG_VERSION}.tar.gz
  12. WRKDIST=${WRKDIR}/gkrellm-${PKG_VERSION}/server
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,GKRELLMD,gkrellmd,${PKG_VERSION}-${PKG_RELEASE}))
  15. BUILD_STYLE= auto
  16. MAKE_FLAGS+= GLIB12_INCLUDE="-I${STAGING_DIR}/usr/include/glib-1.2 -I${STAGING_DIR}/usr/lib/glib/include" \
  17. GLIB12_LIB="-L${STAGING_DIR}/usr/lib -lglib -lgmodule" \
  18. glib12=1
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_GKRELLMD}/usr/bin
  21. ${INSTALL_DIR} ${IDIR_GKRELLMD}/etc/init.d
  22. ${INSTALL_BIN} ${WRKBUILD}/gkrellmd ${IDIR_GKRELLMD}/usr/bin/
  23. ${INSTALL_DATA} ${WRKSRC}/gkrellmd.conf ${IDIR_GKRELLMD}/etc
  24. ${INSTALL_BIN} ./files/gkrellmd.init ${IDIR_GKRELLMD}/etc/init.d/gkrellmd
  25. include ${TOPDIR}/mk/pkg-bottom.mk