Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libx264
  5. PKG_VERSION:= 0480cb05fa188d37ae87e8f4fd8f1aea3711f7ee
  6. PKG_RELEASE:= 1
  7. PKG_GIT:= hash
  8. PKG_DESCR:= h264 encoding library
  9. PKG_SECTION:= libs/video
  10. PKG_URL:= http://www.videolan.org/developers/x264.html
  11. PKG_SITES:= http://git.videolan.org/git/x264.git
  12. PKG_OPTS:= dev
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIG_STYLE:= minimal
  17. CONFIGURE_ARGS+= --disable-asm \
  18. --disable-cli \
  19. --disable-opencl \
  20. --enable-shared \
  21. --prefix=/usr \
  22. --host=${GNU_TARGET_NAME} \
  23. --sysroot=${STAGING_TARGET_DIR} \
  24. --cross-prefix=$(TARGET_CROSS)
  25. libx264-install:
  26. $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/libx264*.so* \
  28. $(IDIR_LIBX264)/usr/lib
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk