summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-01-19 21:15:51 +0000
committerryoon <ryoon@pkgsrc.org>2011-01-19 21:15:51 +0000
commit19197c708222b0d9dea323ce6b9e7be7a054b4f9 (patch)
tree6f5ec41b19e42efe771de44539cbd0a4c9c90328 /multimedia/libvpx/Makefile
parentf3f9ce35816458e40bb5b0872517d0812007a92d (diff)
downloadpkgsrc-19197c708222b0d9dea323ce6b9e7be7a054b4f9.tar.gz
mport libvpx 0.9.5 as multimedia/libvpx.
The On2 VP8 Sodec SDK from Google.
Diffstat (limited to 'multimedia/libvpx/Makefile')
-rw-r--r--multimedia/libvpx/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
new file mode 100644
index 00000000000..cb3a21adafb
--- /dev/null
+++ b/multimedia/libvpx/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/01/19 21:15:51 ryoon Exp $
+#
+
+DISTNAME= libvpx-v0.9.5
+PKGNAME= ${DISTNAME:S/-v/-/}
+CATEGORIES= multimedia
+MASTER_SITES= http://webm.googlecode.com/files/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://code.google.com/p/webm/
+COMMENT= On2 VP8 library from Google
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= YES
+USE_TOOLS+= gmake bash:build perl:build
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
+.endif
+
+HAS_CONFIGURE= YES
+USE_LANGUAGES= c c++
+
+REPLACE_BASH= configure \
+ build/make/version.sh \
+ build/make/gen_asm_deps.sh \
+ examples/gen_example_text.sh \
+ examples/gen_example_code.sh
+
+CONFIGURE_ARGS+= --enable-pic \
+ --disable-postproc \
+ --enable-runtime-cpu-detect \
+ --prefix=${PREFIX}
+
+BUILD_TARGET= # none
+
+post-extract:
+ ${CP} ${FILESDIR}/strip_fPIC.sh ${WRKSRC}
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"