2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
18 PKG_MD5SUM
:=b569066ac2ba1356c2112b118a7d74d0
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/keynote
25 DEPENDS
:=@LINUX_2_6
+libopenssl
26 TITLE
:=Simple and flexible trust-management system
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
\\\
32 URL
:=http
://www1.cs.columbia.edu
/~angelos
/keynote.html
40 $(call Build
/Compile
/Default
, \
41 LIBS
="$(EXTRA_LDFLAGS) -L. -lkeynote -lm -lcrypto" \
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
/
52 define Build
/UninstallDev
53 rm -rf
$(STAGING_DIR
)/usr
/include/keynote \
54 $(STAGING_DIR
)/usr
/lib
/libkeynote.a
57 define Package
/keynote
/install
58 $(INSTALL_DIR
) $(1)/usr
/sbin
59 $(CP
) $(PKG_BUILD_DIR
)/keynote
$(1)/usr
/sbin
/
62 $(eval
$(call BuildPackage
,keynote
))