Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= libvpx
  5. PKG_VERSION:= 0.9.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= bd888cffde8d9c3061c7fd719b0cd4ce
  8. PKG_DESCR:= VP8 codec library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.webmproject.org/about/
  11. PKG_SITES:= http://webm.googlecode.com/files/
  12. PKG_SYSTEM_DEPENDS:= sharp-zaurus ibm-x40
  13. DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}-p1.tar.bz2
  14. WRKDIST= $(WRKDIR)/${PKG_NAME}-v${PKG_VERSION}-p1
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBVPX,libvpx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= minimal
  18. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  19. CONFIGURE_ARGS+= --target=armv5te-linux-gcc
  20. endif
  21. ifeq ($(ADK_TARGET_SYSTEM_IBM_X40),y)
  22. CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
  23. endif
  24. CONFIGURE_ARGS+= --prefix=/usr \
  25. --disable-install-docs \
  26. --disable-install-bins \
  27. --enable-install-libs \
  28. --disable-examples \
  29. --enable-shared
  30. ALL_TARGET:=
  31. libvpx-install:
  32. $(INSTALL_DIR) $(IDIR_LIBVPX)/usr/lib
  33. $(CP) $(WRKINST)/usr/lib/libvpx.so* \
  34. $(IDIR_LIBVPX)/usr/lib
  35. include ${TOPDIR}/mk/pkg-bottom.mk