[packages] add hasciicam, a tool to stream live ascii video feeds
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15760 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e930240c4a
commit
0d84173374
45
multimedia/hasciicam/Makefile
Normal file
45
multimedia/hasciicam/Makefile
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2009 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=hasciicam
|
||||||
|
PKG_VERSION:=20080922
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
PKG_SOURCE_URL:=git://git.dyne.org/$(PKG_NAME).git
|
||||||
|
PKG_SOURCE_PROTO:=git
|
||||||
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
PKG_SOURCE_VERSION:=262f56eb307f9a0d4bee04d38e0adde7e4257d87
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/hasciicam
|
||||||
|
SECTION:=multimedia
|
||||||
|
CATEGORY:=Multimedia
|
||||||
|
TITLE:=Live ASCII video feeds
|
||||||
|
URL:=http://ascii.dyne.org/
|
||||||
|
DEPENDS:= +libaa
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
CONFIGURE_VARS += \
|
||||||
|
LIBS="-lncurses" \
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
all install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/hasciicam/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hasciicam $(1)/usr/bin/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,hasciicam))
|
Loading…
x
Reference in New Issue
Block a user