From f19ad27d0612e15020495f0c4a8389f92ebb5eab Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 10 May 2009 21:57:57 +0000 Subject: [PATCH] [packages] add hasciicam, a tool to stream live ascii video feeds SVN-Revision: 15760 --- multimedia/hasciicam/Makefile | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 multimedia/hasciicam/Makefile diff --git a/multimedia/hasciicam/Makefile b/multimedia/hasciicam/Makefile new file mode 100644 index 0000000000..a5e695e0c4 --- /dev/null +++ b/multimedia/hasciicam/Makefile @@ -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)) -- 2.30.2