2009-05-10 21:49:40 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=aalib
|
|
|
|
PKG_VERSION:=1.2
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/aa-project
|
2009-05-13 06:55:01 +00:00
|
|
|
PKG_MD5SUM:=790434e0f2005fc95559ab3eab42e746
|
2009-05-10 21:49:40 +00:00
|
|
|
|
2012-10-19 15:36:24 +00:00
|
|
|
PKG_LICENSE:=LGPLv2
|
|
|
|
PKG_LICENSE_FILE:=COPYING
|
|
|
|
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
2009-05-10 21:49:40 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/libaa
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=Ascii-Art rendering library
|
|
|
|
URL:=http://aa-project.sourceforge.net/
|
2010-02-18 13:10:21 +00:00
|
|
|
DEPENDS:=+libncurses
|
2009-05-10 21:49:40 +00:00
|
|
|
endef
|
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--without-x \
|
2014-02-21 20:15:32 +00:00
|
|
|
--with-x11-driver=no \
|
|
|
|
--with-slang-driver=no \
|
2010-02-19 04:10:11 +00:00
|
|
|
--with-ncurses=$(STAGING_DIR)/usr \
|
2010-02-18 13:10:21 +00:00
|
|
|
)
|
2009-05-10 21:49:40 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2009-05-10 21:49:40 +00:00
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/include/aalib.h \
|
|
|
|
$(1)/usr/include/
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2009-05-10 21:49:40 +00:00
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libaa.{a,so*} \
|
|
|
|
$(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libaa/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libaa.so.* \
|
|
|
|
$(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libaa))
|