Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= libogg
  5. PKG_VERSION:= 1.1.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= eaf7dc6ebbff30975de7527a80831585
  8. PKG_DESCR:= The Ogg bitstream handling library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.xiph.org/ogg
  11. PKG_SITES:= http://downloads.xiph.org/releases/ogg/
  12. PKG_SUBPKGS:= LIBOGG LIBOGG_DEV
  13. PKGSD_LIBOGG_DEV:= development files for libogg
  14. PKGSC_LIBOGG_DEV:= devel
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBOGG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBOGG_DEV,libogg-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBOGG_DEV},${PKGSC_LIBOGG_DEV}))
  18. SUB_INSTALLS-y:=
  19. SUB_INSTALLS-m:=
  20. SUB_INSTALLS-${ADK_PACKAGE_LIBOGG_DEV}+= libogg-dev-install
  21. post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
  22. ${INSTALL_DIR} ${IDIR_LIBOGG}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libogg.so* ${IDIR_LIBOGG}/usr/lib/
  24. libogg-dev-install:
  25. ${INSTALL_DIR} ${IDIR_LIBOGG_DEV}/usr/include/ogg
  26. ${CP} ${WRKINST}/usr/include/ogg/*.h ${IDIR_LIBOGG_DEV}/usr/include/ogg
  27. include ${TOPDIR}/mk/pkg-bottom.mk