same propset here as changeset:6500
[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
11 PKG_NAME:=keynote
12 PKG_VERSION:=2.3
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
17 PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/kernel.mk
24
25 define Package/keynote
26 SECTION:=net
27 CATEGORY:=Network
28 DEPENDS:=@LINUX_2_6 +libopenssl
29 TITLE:=Simple and flexible trust-management system
30 DESCRIPTION:=\
31 KeyNote is a simple and flexible trust-management system designed to work \\\
32 well for a variety of large- and small- scale Internet-based applications.\\\
33 It provides a single, unified language for both local policies and \\\
34 credentials.
35 URL:=http://www1.cs.columbia.edu/~angelos/keynote.html
36 endef
37
38 CONFIGURE_ARGS += \
39 --enable-static \
40 --enable-shared
41
42 define Build/Compile
43 $(call Build/Compile/Default, \
44 LIBS="$(EXTRA_LDFLAGS) -L. -lkeynote -lm -lcrypto" \
45 )
46 endef
47
48 define Build/InstallDev
49 mkdir -p $(STAGING_DIR)/usr/include
50 $(CP) $(PKG_BUILD_DIR)/{assertion,header,keynote,signature}.h $(STAGING_DIR)/usr/include/
51 mkdir -p $(STAGING_DIR)/usr/lib
52 $(CP) $(PKG_BUILD_DIR)/libkeynote.a $(STAGING_DIR)/usr/lib/
53 endef
54
55 define Build/UninstallDev
56 rm -rf $(STAGING_DIR)/usr/include/keynote \
57 $(STAGING_DIR)/usr/lib/libkeynote.a
58 endef
59
60 define Package/keynote/install
61 $(INSTALL_DIR) $(1)/usr/sbin
62 $(CP) $(PKG_BUILD_DIR)/keynote $(1)/usr/sbin/
63 endef
64
65 $(eval $(call BuildPackage,keynote))
This page took 0.041068 seconds and 5 git commands to generate.