From e357b2ca036e4220d39151a3f2f53a3e3f42550d Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 29 Nov 2010 11:53:03 +0800 Subject: [PATCH] new package, aewan, Ascii Art Editor Signed-off-by: Xiangfu Liu --- aewan/Makefile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 aewan/Makefile diff --git a/aewan/Makefile b/aewan/Makefile new file mode 100644 index 0000000..84a26b7 --- /dev/null +++ b/aewan/Makefile @@ -0,0 +1,37 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=aewan +PKG_VERSION:=1.0.01 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/aewan + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Ascii Art Editor + URL:=http://aewan.sourceforge.net/ + DEPENDS:=+libncurses +endef + +define Package/aewan/description + Ascii Art Editor +endef + +CONFIGURE_ARGS+="--prefix=/usr/bin" +TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include + +define Package/aewan/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/aewan \ + $(PKG_BUILD_DIR)/aecat \ + $(PKG_BUILD_DIR)/aemakeflic \ + $(1)/usr/bin +endef + +$(eval $(call BuildPackage,aewan))