Makefile 925 B

12345678910111213141516171819202122232425262728293031
  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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= libx264
  5. # actually is snapshot x264-snapshot-20131010-2245
  6. PKG_VERSION:= 1.0
  7. PKG_RELEASE:= 3
  8. PKG_MD5SUM:= e6718029b4bc955f1dbb9bdafeed3ac0
  9. PKG_DESCR:= H264 encoding library
  10. PKG_SECTION:= libs
  11. PKG_URL:= http://www.videolan.org/developers/x264.html
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_OPTS:= dev
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  17. CONFIGURE_ARGS+= --disable-asm
  18. endif
  19. CONFIGURE_ARGS+= --disable-cli
  20. libx264-install:
  21. $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libx264*.so* \
  23. $(IDIR_LIBX264)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk