5db9e7985f
Drop upstream patches. Add upstream patch fixing build with musl libc. Add license file hash. Set LDLIBS to TARGET_LDFLAGS for TARGET_LDFLAGS to be added to the link commands. Makefile does not use the LDFLAGS environment variable. This fixes static linking. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
804 B
Makefile
28 lines
804 B
Makefile
################################################################################
|
|
#
|
|
# multicat
|
|
#
|
|
################################################################################
|
|
|
|
MULTICAT_VERSION = 2.2
|
|
MULTICAT_SOURCE = multicat-$(MULTICAT_VERSION).tar.bz2
|
|
MULTICAT_SITE = https://get.videolan.org/multicat/$(MULTICAT_VERSION)
|
|
MULTICAT_LICENSE = GPL-2.0+
|
|
MULTICAT_LICENSE_FILES = COPYING
|
|
|
|
MULTICAT_DEPENDENCIES = bitstream
|
|
|
|
# Makefile does not use LDFLAGS. Use LDLIBS for that instead.
|
|
MULTICAT_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
|
LDLIBS="$(TARGET_LDFLAGS)"
|
|
|
|
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))
|