Makefile 905 B

123456789101112131415161718192021222324252627282930
  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:= kmod
  5. PKG_VERSION:= 5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b271c2ec54aba1c67bda63c8579d8c15
  8. PKG_DESCR:= kernel module loading library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://profusion.mobi/index.php
  11. PKG_SITES:= http://packages.profusion.mobi/kmod/
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,KMOD,kmod,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. kmod-install:
  17. $(INSTALL_DIR) $(IDIR_KMOD)/usr/bin
  18. $(INSTALL_DIR) $(IDIR_KMOD)/usr/lib
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/kmod \
  20. $(IDIR_KMOD)/usr/bin
  21. $(CP) $(WRKINST)/usr/lib/libkmod*.so* \
  22. $(IDIR_KMOD)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk