Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= qingy
  5. PKG_VERSION:= 1.0.0
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 1e0912655e240adfd0ce5ced30bbc685
  8. PKG_DESCR:= directfb getty replacement
  9. PKG_SECTION:= sys/misc
  10. PKG_DEPENDS:= directfb libncurses librt libpthread
  11. PKG_DEPENDS+= libstdcxx
  12. PKG_BUILDDEP:= DirectFB ncurses
  13. PKG_URL:= http://qingy.sourceforge.net/
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=qingy/}
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,QINGY,qingy,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TARGET_LDFLAGS+= -ltinfo
  19. CONFIGURE_ARGS+= --disable-screen-savers \
  20. --disable-optimizations \
  21. --disable-pam \
  22. --disable-x-support \
  23. --disable-crypto
  24. qingy-install:
  25. $(INSTALL_DIR) $(IDIR_QINGY)/etc/qingy/sessions
  26. ${INSTALL_BIN} ./files/{pre,post}_GUI.sh ${IDIR_QINGY}/etc/qingy/
  27. ${INSTALL_DATA} ./files/{settings,welcomes} ${IDIR_QINGY}/etc/qingy/
  28. touch ${IDIR_QINGY}/etc/qingy/sessions/.keep_me
  29. $(INSTALL_DIR) $(IDIR_QINGY)/usr/lib/qingy
  30. ${CP} $(WRKINST)/usr/lib/qingy/libqingy*.so ${IDIR_QINGY}/usr/lib/qingy/
  31. $(INSTALL_DIR) $(IDIR_QINGY)/usr/sbin
  32. ${INSTALL_BIN} $(WRKINST)/usr/sbin/qingy* ${IDIR_QINGY}/usr/sbin/
  33. $(INSTALL_DIR) $(IDIR_QINGY)/usr/share/qingy
  34. ${CP} $(WRKINST)/usr/share/qingy/themes ${IDIR_QINGY}/usr/share/qingy
  35. include ${ADK_TOPDIR}/mk/pkg-bottom.mk