OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | include $(TOPDIR)/rules.mk |
2 | |
3 | PKG_NAME:=abook |
4 | PKG_VERSION:=0.5.6 |
5 | PKG_RELEASE:=2 |
6 | |
7 | PKG_SOURCE:=abook-$(PKG_VERSION).tar.gz |
8 | PKG_SOURCE_URL:=@SF/abook |
9 | PKG_MD5SUM:=87d25df96864a7c507a4965e6d1da49d |
10 | PKG_CAT:=zcat |
11 | |
12 | PKG_BUILD_DIR:=$(BUILD_DIR)/abook-$(PKG_VERSION) |
13 | |
14 | include $(INCLUDE_DIR)/package.mk |
15 | |
16 | define Package/abook |
17 | SECTION:=utils |
18 | CATEGORY:=Utilities |
19 | TITLE:=abook |
20 | URL:=http://abook.sourceforge.net/ |
21 | DEPENDS:= +libreadline +libncurses @BROKEN |
22 | endef |
23 | |
24 | define Package/abook/description |
25 | Simple address book program. |
26 | endef |
27 | |
28 | define Build/Configure |
29 | $(call Build/Configure/Default, \ |
30 | --prefix=/usr \ |
31 | ) |
32 | endef |
33 | |
34 | #define Build/Configure |
35 | # (cd $(PKG_BUILD_DIR); \ |
36 | # $(TARGET_CONFIGURE_OPTS) \ |
37 | # CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ |
38 | # UNAME_S="Linux" \ |
39 | # ./configure \ |
40 | # --host=mipsel \ |
41 | # --prefix=/usr \ |
42 | # ); |
43 | #endef |
44 | |
45 | |
46 | define Package/abook/install |
47 | $(INSTALL_DIR) $(1)/usr/bin/ |
48 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/abook $(1)/usr/bin/ |
49 | endef |
50 | |
51 | $(eval $(call BuildPackage,abook)) |
52 |