CFE-ready mtd driver, needs fixing though, update kernel config
[openwrt.git] / package / keynote / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=keynote
13 PKG_VERSION:=2.3
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
18 PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/keynote
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=@LINUX_2_6 +libopenssl
26 TITLE:=Simple and flexible trust-management system
27 DESCRIPTION:=\
28 KeyNote is a simple and flexible trust-management system designed to work \\\
29 well for a variety of large- and small- scale Internet-based applications.\\\
30 It provides a single, unified language for both local policies and \\\
31 credentials.
32 URL:=http://www1.cs.columbia.edu/~angelos/keynote.html
33 endef
34
35 CONFIGURE_ARGS += \
36 --enable-static \
37 --enable-shared
38
39 define Build/Compile
40 $(call Build/Compile/Default, \
41 LIBS="$(EXTRA_LDFLAGS) -L. -lkeynote -lm -lcrypto" \
42 )
43 endef
44
45 define Build/InstallDev
46 mkdir -p $(STAGING_DIR)/usr/include
47 $(CP) $(PKG_BUILD_DIR)/{assertion,header,keynote,signature}.h $(STAGING_DIR)/usr/include/
48 mkdir -p $(STAGING_DIR)/usr/lib
49 $(CP) $(PKG_BUILD_DIR)/libkeynote.a $(STAGING_DIR)/usr/lib/
50 endef
51
52 define Build/UninstallDev
53 rm -rf $(STAGING_DIR)/usr/include/keynote \
54 $(STAGING_DIR)/usr/lib/libkeynote.a
55 endef
56
57 define Package/keynote/install
58 $(INSTALL_DIR) $(1)/usr/sbin
59 $(CP) $(PKG_BUILD_DIR)/keynote $(1)/usr/sbin/
60 endef
61
62 $(eval $(call BuildPackage,keynote))
This page took 0.043963 seconds and 5 git commands to generate.