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-10 14:30:07 +02:00
|
|
|
DEPENDS:=+libreadline +libncurses
|
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-10 14:30:07 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/abook $(1)/usr/bin
|
2010-09-08 20:58:59 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,abook))
|