blob: a12cc3e067254f501cbcd24666fcc9f3ebede1df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.8 2004/01/20 12:18:15 agc Exp $
DISTNAME= ffmpeg-0.4.5
PKGREVISION= 2
CATEGORIES= graphics net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ffmpeg/}
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://ffmpeg.sourceforge.net/
COMMENT= MPEG decoding, encoding and streaming software
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
WRKSRC= ${WRKDIR}/ffmpeg
HAS_CONFIGURE= YES
USE_BUILDLINK2= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
MAKE_ENV+= EXTRA_LIBS="${LIBGETOPT}" \
FFSERVER_CONF=${PKG_SYSCONFDIR}/ffserver.conf \
LOCALBASE="${LOCALBASE}"
CONFIGURE_ARGS= --cc=${CC} --disable-grab --disable-mmx --prefix=${PREFIX}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/libav
${INSTALL_DATA_DIR} ${PREFIX}/include/libavcodec
${INSTALL_DATA_DIR} ${PREFIX}/include/libavcodec/i386
${INSTALL_DATA_DIR} ${PREFIX}/include/libavcodec/libac3
${INSTALL_DATA} ${WRKSRC}/libav/*.h ${PREFIX}/include/libav
${INSTALL_DATA} ${WRKSRC}/libavcodec/*.h ${PREFIX}/include/libavcodec
${INSTALL_DATA} ${WRKSRC}/libavcodec/i386/*.h \
${PREFIX}/include/libavcodec/i386
${INSTALL_DATA} ${WRKSRC}/libavcodec/libac3/*.h \
${PREFIX}/include/libavcodec/libac3
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffmpeg \
${PREFIX}/share/examples/ffmpeg
${INSTALL_DATA} ${WRKSRC}/libavcodec/apiexample.c \
${PREFIX}/share/doc/ffmpeg
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/* \
${PREFIX}/share/doc/ffmpeg
${MV} ${PREFIX}/share/doc/ffmpeg/ffserver.conf \
${PREFIX}/share/examples/ffmpeg
.include "../../devel/libgetopt/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|