package/multicat: Add package

multicat is a simple and efficient multicast and transport stream manipulation
tool.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Julian Scheel 2016-01-27 09:40:11 +01:00 committed by Thomas Petazzoni
parent f0b6540c07
commit ddc2285ff2
4 changed files with 39 additions and 0 deletions

View file

@ -28,6 +28,7 @@ menu "Audio and video applications"
source "package/mpd-mpc/Config.in"
source "package/mpg123/Config.in"
source "package/mplayer/Config.in"
source "package/multicat/Config.in"
source "package/musepack/Config.in"
source "package/ncmpc/Config.in"
source "package/on2-8170-libs/Config.in"

View file

@ -0,0 +1,11 @@
config BR2_PACKAGE_MULTICAT
bool "multicat"
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_BITSTREAM
help
Simple and efficient multicast and transport stream manipulation.
http://www.videolan.org/projects/multicat.html
comment 'multicat needs a toolchain w/ threads'
depends on !BR2_TOOLCHAIN_HAS_THREADS

View file

@ -0,0 +1,4 @@
# from https://get.videolan.org/multicat/2.1/multicat-2.1.tar.bz2.md5
md5 2e3ecd8dee64f5bd32a61733d4cc2226 multicat-2.1.tar.bz2
# locally calculated
sha256 5eabe8d9a3dde452b2d348683cc7da213680551a9d4059c356f7319c6aa9b3d1 multicat-2.1.tar.bz2

View file

@ -0,0 +1,23 @@
################################################################################
#
# multicat
#
################################################################################
MULTICAT_VERSION = 2.1
MULTICAT_SOURCE = multicat-$(MULTICAT_VERSION).tar.bz2
MULTICAT_SITE = https://get.videolan.org/multicat/$(MULTICAT_VERSION)
MULTICAT_LICENSE = GPLv2+
MULTICAT_LICENSE_FILES = COPYING
MULTICAT_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS)
define MULTICAT_BUILD_CMDS
$(MULTICAT_MAKE_ENV) $(MAKE) -C $(@D)
endef
define MULTICAT_INSTALL_TARGET_CMDS
$(MULTICAT_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
endef
$(eval $(generic-package))