Root/abook/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=abook
4PKG_VERSION:=0.5.6
5PKG_RELEASE:=2
6
7PKG_SOURCE:=abook-$(PKG_VERSION).tar.gz
8PKG_SOURCE_URL:=@SF/abook
9    PKG_MD5SUM:=87d25df96864a7c507a4965e6d1da49d
10    PKG_CAT:=zcat
11
12PKG_BUILD_DIR:=$(BUILD_DIR)/abook-$(PKG_VERSION)
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/abook
17    SECTION:=utils
18    CATEGORY:=Utilities
19    TITLE:=abook
20    URL:=http://abook.sourceforge.net/
21    DEPENDS:= +libreadline +libncurses @BROKEN
22endef
23
24define Package/abook/description
25    Simple address book program.
26endef
27
28define Build/Configure
29    $(call Build/Configure/Default, \
30        --prefix=/usr \
31    )
32endef
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
46define Package/abook/install
47    $(INSTALL_DIR) $(1)/usr/bin/
48    $(INSTALL_BIN) $(PKG_BUILD_DIR)/abook $(1)/usr/bin/
49endef
50
51$(eval $(call BuildPackage,abook))
52

Archive Download this file



interactive