packages/fanctrolled: use new service functions
[openwrt/svn-archive/archive.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_REV:=262f56eb307f9a0d4bee04d38e0adde7e4257d87
12 PKG_VERSION:=20080922
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=git://git.dyne.org/$(PKG_NAME).git
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE_VERSION:=$(PKG_REV)
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/hasciicam
26 SECTION:=multimedia
27 CATEGORY:=Multimedia
28 TITLE:=Live ASCII video feeds
29 URL:=http://ascii.dyne.org/
30 DEPENDS:= +libaa
31 endef
32
33
34 CONFIGURE_VARS += \
35 LIBS="-lncurses" \
36
37 define Package/hasciicam/install
38 $(INSTALL_DIR) $(1)/usr/bin
39 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hasciicam $(1)/usr/bin/
40 endef
41
42 $(eval $(call BuildPackage,hasciicam))