a5e695e0c433c4ea796be544469390a12ae2e098
[openwrt/svn-archive/archive.git] / multimedia / hasciicam / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=hasciicam
11 PKG_VERSION:=20080922
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=git://git.dyne.org/$(PKG_NAME).git
16 PKG_SOURCE_PROTO:=git
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE_VERSION:=262f56eb307f9a0d4bee04d38e0adde7e4257d87
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/hasciicam
23 SECTION:=multimedia
24 CATEGORY:=Multimedia
25 TITLE:=Live ASCII video feeds
26 URL:=http://ascii.dyne.org/
27 DEPENDS:= +libaa
28 endef
29
30
31 CONFIGURE_VARS += \
32 LIBS="-lncurses" \
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 DESTDIR="$(PKG_INSTALL_DIR)" \
37 all install
38 endef
39
40 define Package/hasciicam/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hasciicam $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,hasciicam))