branch Attitude Adjustment packages
[12.09/packages.git] / multimedia / hasciicam / Makefile
1 #
2 # Copyright (C) 2009-2010 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:=1.1.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://ftp.dyne.org/hasciicam/releases/
16 PKG_MD5SUM:=2c7393270e18ab913043683fa3390d8c
17
18 PKG_INSTALL:=1
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 +ftplib
28 endef
29
30
31 CONFIGURE_VARS += \
32         LIBS="-lncurses" \
33
34 define Package/hasciicam/install
35         $(INSTALL_DIR) $(1)/usr/bin
36         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hasciicam $(1)/usr/bin/
37 endef
38
39 $(eval $(call BuildPackage,hasciicam))