1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-17 07:47:51 +03:00
openwrt-xburst/package/libs/ocf-crypto-headers/Makefile
hcg 58313fff71 licensing: Add licensing metadata to many packages
Two new variables are introduces to many packages, namely PKG_LICENSE and
PKG_LICENSE_FILES - there may be more than one license applied to packages,
and these are listed in the PKG_LICENSE variable and separated by spaces.
All relevant license files are also added to the PKG_LICENSE_FILES variable,
also space separated.

The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 15:34:28 +00:00

40 lines
765 B
Makefile

#
# Copyright (C) 2008-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ocf-crypto-headers
PKG_VERSION:=20110720
PKG_RELEASE:=1
PKG_LICENSE:=cryptodev.h
PKG_LICENSE_FILES:=
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/ocf-crypto-headers
SECTION:=utils
CATEGORY:=Utilities
TITLE:=OCF-Linux cryptodev header
PKGARCH:=all
URL:=http://ocf-linux.sourceforge.net/
endef
define Build/Configure
endef
define Build/Compile
endef
define Build/InstallDev
mkdir -p $(1)/usr/include/crypto
$(CP) ./src/cryptodev.h $(1)/usr/include/crypto
endef
$(eval $(call BuildPackage,ocf-crypto-headers))