summaryrefslogtreecommitdiff
path: root/aewan/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
commit9352995934adec8059077af241c35ccd1573bd80 (patch)
tree60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /aewan/Makefile
parentef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff)
parent880bca260c4ce91554a49b2475232cf5c0ffd447 (diff)
downloadqipackages-fork-9352995934adec8059077af241c35ccd1573bd80.tar.gz
Merge branch 'master' of git://projects.qi-hardware.com/openwrt-packagesHEADmaster
Conflicts: links/Makefile
Diffstat (limited to 'aewan/Makefile')
-rw-r--r--aewan/Makefile37
1 files changed, 37 insertions, 0 deletions
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))