Makefile 772 B

123456789101112131415161718192021222324252627282930313233343536373839
  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_LICENSE:=GPL-2.0
  12. PKG_LICENSE_FILES:=cryptodev.h
  13. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/ocf-crypto-headers
  16. SECTION:=utils
  17. CATEGORY:=Utilities
  18. TITLE:=OCF-Linux cryptodev header
  19. PKGARCH:=all
  20. URL:=http://ocf-linux.sourceforge.net/
  21. endef
  22. define Build/Configure
  23. endef
  24. define Build/Compile
  25. endef
  26. define Build/InstallDev
  27. mkdir -p $(1)/usr/include/crypto
  28. $(CP) ./src/cryptodev.h $(1)/usr/include/crypto
  29. endef
  30. $(eval $(call BuildPackage,ocf-crypto-headers))