Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. post-install:
  19. ${INSTALL_DIR} ${IDIR_LIBOGG}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libogg.so* ${IDIR_LIBOGG}/usr/lib
  21. libogg-dev-install:
  22. ${INSTALL_DIR} ${IDIR_LIBOGG_DEV}/usr/include/ogg
  23. ${CP} ${WRKINST}/usr/include/ogg/*.h ${IDIR_LIBOGG_DEV}/usr/include/ogg
  24. include ${TOPDIR}/mk/pkg-bottom.mk