Makefile 719 B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Copyright (C) 2008-2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ocf-crypto-headers
  9. PKG_VERSION:=20110720
  10. PKG_RELEASE:=1
  11. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/ocf-crypto-headers
  14. SECTION:=utils
  15. CATEGORY:=Utilities
  16. TITLE:=OCF-Linux cryptodev header
  17. PKGARCH:=all
  18. URL:=http://ocf-linux.sourceforge.net/
  19. endef
  20. define Build/Configure
  21. endef
  22. define Build/Compile
  23. endef
  24. define Build/InstallDev
  25. mkdir -p $(1)/usr/include/crypto
  26. $(CP) ./src/cryptodev.h $(1)/usr/include/crypto
  27. endef
  28. $(eval $(call BuildPackage,ocf-crypto-headers))