From 44d15563c706dce48f84b55bd299fc94c655f071 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Mon, 17 Nov 2014 10:18:14 +0200 Subject: live555: use upstream install target for staging installation Move include directories out of $(STAGING_DIR)/usr/include/live. This is upstream choice, and is consistent with e.g. Debian. Update mplayer and vlc to match. Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- package/live555/live555.mk | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'package/live555') diff --git a/package/live555/live555.mk b/package/live555/live555.mk index e933faaea..8c31a0865 100644 --- a/package/live555/live555.mk +++ b/package/live555/live555.mk @@ -23,6 +23,7 @@ define LIVE555_CONFIGURE_CMDS echo 'CPLUSPLUS_COMPILER = $(TARGET_CXX)' >> $(@D)/config.linux echo 'LINK = $(TARGET_CXX) -o' >> $(@D)/config.linux echo 'LINK_OPTS = -L. $(TARGET_LDFLAGS)' >> $(@D)/config.linux + echo 'PREFIX = /usr' >> $(@D)/config.linux (cd $(@D); ./genMakefiles linux) endef @@ -30,31 +31,13 @@ define LIVE555_BUILD_CMDS $(MAKE) -C $(@D) all endef -LIVE555_HEADERS_TO_INSTALL = \ - liveMedia/include \ - groupsock/include \ - UsageEnvironment/include \ - BasicUsageEnvironment/include - -LIVE555_LIBS_TO_INSTALL = \ - liveMedia/libliveMedia.a \ - groupsock/libgroupsock.a \ - UsageEnvironment/libUsageEnvironment.a \ - BasicUsageEnvironment/libBasicUsageEnvironment.a - LIVE555_FILES_TO_INSTALL-y = LIVE555_FILES_TO_INSTALL-$(BR2_PACKAGE_LIVE555_OPENRTSP) += testProgs/openRTSP LIVE555_FILES_TO_INSTALL-$(BR2_PACKAGE_LIVE555_MEDIASERVER) += mediaServer/live555MediaServer LIVE555_FILES_TO_INSTALL-$(BR2_PACKAGE_LIVE555_MPEG2_INDEXER) += testProgs/MPEG2TransportStreamIndexer define LIVE555_INSTALL_STAGING_CMDS - for i in $(LIVE555_HEADERS_TO_INSTALL); do \ - mkdir -p $(STAGING_DIR)/usr/include/live/`dirname $$i`; \ - cp -a $(@D)/$$i/* $(STAGING_DIR)/usr/include/live/`dirname $$i`; \ - done; \ - for i in $(LIVE555_LIBS_TO_INSTALL); do \ - $(INSTALL) -D -m 0755 $(@D)/$$i $(STAGING_DIR)/usr/lib/`basename $$i`; \ - done + $(MAKE) DESTDIR=$(STAGING_DIR) -C $(@D) install endef define LIVE555_INSTALL_TARGET_CMDS -- cgit v1.2.3