2010-09-08 20:58:59 +03:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=abook
|
|
|
|
PKG_VERSION:=0.5.6
|
|
|
|
PKG_RELEASE:=2
|
|
|
|
|
2010-11-09 19:51:24 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|
|
|
PKG_MD5SUM:=87d25df96864a7c507a4965e6d1da49d
|
2010-09-08 20:58:59 +03:00
|
|
|
|
2010-11-09 19:51:24 +02:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
2010-09-08 20:58:59 +03:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/abook
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=abook
|
|
|
|
URL:=http://abook.sourceforge.net/
|
2010-11-09 19:51:24 +02:00
|
|
|
DEPENDS:=+libreadline +libncurses +setfont2
|
2010-09-08 20:58:59 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/abook/description
|
|
|
|
Simple address book program.
|
|
|
|
endef
|
|
|
|
|
2010-11-09 19:51:24 +02:00
|
|
|
CONFIGURE_ARGS+="--with-curses=$(STAGING_DIR)/lib"
|
2010-09-08 20:58:59 +03:00
|
|
|
|
|
|
|
define Package/abook/install
|
2010-11-09 21:28:56 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc
|
2010-11-09 19:51:24 +02:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/abook $(1)/usr/bin/abook.bin
|
|
|
|
$(INSTALL_BIN) $(FILES_DIR)/abook.sh $(1)/usr/bin/abook
|
2010-11-09 21:28:56 +02:00
|
|
|
$(INSTALL_DATA) $(FILES_DIR)/abookrc $(1)/etc
|
2010-09-08 20:58:59 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,abook))
|