18e5fd99f8548bf38a6eb44522b5a399e7950729
[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 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/hasciicam
25 SECTION:=multimedia
26 CATEGORY:=Multimedia
27 TITLE:=Live ASCII video feeds
28 URL:=http://ascii.dyne.org/
29 DEPENDS:= +libaa
30 endef
31
32
33 CONFIGURE_VARS += \
34 LIBS="-lncurses" \
35
36 define Package/hasciicam/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hasciicam $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,hasciicam))