1 ################################################################################
5 ################################################################################
7 # Original source is located at
8 # http://sourceforge.net/p/mjpg-streamer/code/commit_browser
9 # oliv3r forked the repo to add support for 3.16 and 3.17 kernels:
10 # http://sourceforge.net/p/mjpg-streamer/patches/14/
11 MJPG_STREAMER_VERSION
= bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b
12 MJPG_STREAMER_SITE
= $(call github
,oliv3r
,mjpg-streamer
,$(MJPG_STREAMER_VERSION
))
13 MJPG_STREAMER_LICENSE
= GPLv2
+
14 MJPG_STREAMER_LICENSE_FILES
= LICENSE
15 MJPG_STREAMER_DEPENDENCIES
= jpeg
17 ifeq ($(BR2_PACKAGE_LIBV4L
),y
)
18 MJPG_STREAMER_DEPENDENCIES
+= libv4l
19 MJPG_STREAMER_USE_LIBV4L
+= USE_LIBV4L2
=true
22 define MJPG_STREAMER_BUILD_CMDS
23 $(TARGET_MAKE_ENV
) $(MAKE
) CC
="$(TARGET_CC)" -C
$(@D
) $(MJPG_STREAMER_USE_LIBV4L
)
26 define MJPG_STREAMER_INSTALL_TARGET_CMDS
27 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
)/usr
install
30 $(eval
$(generic-package
))