12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= ffmpeg
- PKG_VERSION:= 0.6
- PKG_RELEASE:= 1
- PKG_MD5SUM:= d6142a9a5821d6a6262a6edb903faa24
- PKG_DESCR:= solution to record, convert and stream audio and video
- PKG_SECTION:= sound
- PKG_DEPENDS:= libfaad2
- PKG_BUILDDEP+= faad2
- PKG_URL:= http://www.ffmpeg.org
- PKG_SITES:= http://www.ffmpeg.org/releases/
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,FFMPEG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIG_STYLE:= minimal
- include ${TOPDIR}/mk/cpu.mk
- CONFIGURE_ARGS:= --prefix=/usr \
- --target-os=linux \
- --arch=${CPU_ARCH} \
- --enable-cross-compile \
- --source-path=${WRKSRC} \
- --cross-prefix=${TARGET_CROSS} \
- --cc=$(TARGET_CC) \
- --host-cc=$(HOSTCC) \
- --disable-debug \
- --disable-stripping \
- --enable-small \
- --enable-shared \
- --enable-static \
- --disable-ffmpeg \
- --disable-ffplay \
- --disable-ffserver \
- --enable-gpl \
- --enable-swscale \
- --enable-postproc \
- --enable-libfaad \
- ${CONFIGURE_CPU_OPTS}
- post-install:
- ${INSTALL_DIR} ${IDIR_FFMPEG}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libavformat.so* ${IDIR_FFMPEG}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libavcodec.so* ${IDIR_FFMPEG}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libavutil.so* ${IDIR_FFMPEG}/usr/lib
- include ${TOPDIR}/mk/pkg-bottom.mk
|