2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/aa-project
16 PKG_MD5SUM:=790434e0f2005fc95559ab3eab42e746
21 include $(INCLUDE_DIR)/package.mk
26 TITLE:=Ascii-Art rendering library
27 URL:=http://aa-project.sourceforge.net/
31 define Build/Configure
32 $(call Build/Configure/Default, \
36 --without-x11-driver \
37 --without-slang-driver \
38 --with-ncurses=$(STAGING_DIR)/usr \
42 define Build/InstallDev
43 $(INSTALL_DIR) $(1)/usr/include
45 $(PKG_INSTALL_DIR)/usr/include/aalib.h \
47 $(INSTALL_DIR) $(1)/usr/lib
49 $(PKG_INSTALL_DIR)/usr/lib/libaa.{a,so*} \
53 define Package/libaa/install
54 $(INSTALL_DIR) $(1)/usr/lib
56 $(PKG_INSTALL_DIR)/usr/lib/libaa.so.* \
60 $(eval $(call BuildPackage,libaa))