summaryrefslogtreecommitdiff
path: root/multimedia/xine-v4l/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-04-19 15:33:25 +0000
committerdrochner <drochner@pkgsrc.org>2010-04-19 15:33:25 +0000
commit550a595f97f833f962da48568e21fd70cd352c17 (patch)
tree9d22792d2d7af49c65d0897f457df39c1e988a13 /multimedia/xine-v4l/Makefile
parent8c2e8eb062cf8280d3b63d4836873605708fb1e7 (diff)
downloadpkgsrc-550a595f97f833f962da48568e21fd70cd352c17.tar.gz
split out xine's v4l support
Diffstat (limited to 'multimedia/xine-v4l/Makefile')
-rw-r--r--multimedia/xine-v4l/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/multimedia/xine-v4l/Makefile b/multimedia/xine-v4l/Makefile
new file mode 100644
index 00000000000..02d6dc3a19e
--- /dev/null
+++ b/multimedia/xine-v4l/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2010/04/19 15:33:25 drochner Exp $
+#
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../multimedia/xine-lib/Makefile.common"
+
+PKGNAME= ${XINE_PKGNAME:S/lib/v4l2/}
+CATEGORIES= multimedia
+COMMENT= The v4l input plugin for xine-lib
+
+DEPENDS+= xine-lib>=1rc3a:../../multimedia/xine-lib
+
+BUILD_DIRS= ${WRKSRC}/src/input
+CONFIGURE_ARGS+= --without-x
+
+INSTALLATION_DIRS= lib/xine/plugins/${XINE_MOD_DIR_VER}
+
+do-install:
+ cd ${WRKSRC}/src/input && \
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} \
+ xineplug_inp_v4l.la \
+ ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"