Skip to content
Snippets Groups Projects
Commit d8a333c0 authored by Matthieu Herrb's avatar Matthieu Herrb
Browse files

[wip/openni-sensor] install sample udev rules files for USB device

And tell the user to copy it in /etc/udev/rules.d manually.
parent eb94fa8b
No related branches found
No related tags found
No related merge requests found
copy ${PREFIX}/etc/rules.d/${UDEV_RULES}
into /etc/udev/rules.d as root to finish setting up ${PKGBASE}
......@@ -51,10 +51,14 @@ SUBST_MESSAGE.sensor = Patching the output directory for sensor
SUBST_SED.sensor = -e 's!/usr/bin!$(ENGINE_BIN)!g'
SUBST_FILES.sensor = Source/XnDeviceSensorV2/XnSensorClient.cpp
UDEV_RULES=55-primesense-usb.rules
MESSAGE_SUBST = UDEV_RULES=${UDEV_RULES}
INSTALLATION_DIRS = \
${PREFIX}/bin \
${PREFIX}/lib \
${PREFIX}/share/openni
${PREFIX}/share/openni \
${PREFIX}/etc/udev/rules.d
do-install:
${INSTALL} ${WRKDIR}/bin/XnSensorServer ${PREFIX}/bin
......@@ -70,6 +74,8 @@ do-install:
${INSTALL} ${WRKDIR}/lib/$$file ${PREFIX}/lib ; \
${PREFIX}/bin/niReg -r ${PREFIX}/lib/$$file ${OPENNI_SHARE}; \
done
${INSTALL_DATA} ${WRKSRC}/Platform/Linux-x86/Install/${UDEV_RULES} \
${PREFIX}/etc/udev/rules.d
include ../../wip/openni/depend.mk
include ../../pkgtools/install-sh/depend.mk
......
@comment Wed Dec 15 19:43:58 CET 2010
bin/XnSensorServer
etc/udev/rules.d/55-primesense-usb.rules
lib/libXnCore.so
lib/libXnDDK.so
lib/libXnDeviceFile.so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment