Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= linux-atm
  5. PKG_VERSION:= 2.5.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 9560b0e1f410a05b849dfdab465dd758
  8. PKG_DESCR:= ATM library for Linux
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://linux-atm.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-atm/}
  12. PKG_NOPARALLEL:= 1
  13. PKG_HOST_DEPENDS:= !freebsd
  14. PKG_SUBPKGS:= LIBATM LIBATM_DEV BR2684CTL
  15. PKGSD_LIBATM_DEV:= ATM headers for Linux
  16. PKGSC_LIBATM_DEV:= devel
  17. PKGSD_BR2684CTL:= br2684ctl ATM utility
  18. PKGSS_BR2684CTL:= libatm
  19. PKGSC_BR2684CTL:= route
  20. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  21. include ${TOPDIR}/mk/package.mk
  22. $(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. $(eval $(call PKG_template,LIBATM_DEV,libatm-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBATM_DEV},${PKGSC_LIBATM_DEV}))
  24. $(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
  25. libatm-install:
  26. ${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
  28. libatm-dev-install:
  29. ${INSTALL_DIR} ${IDIR_LIBATM_DEV}/usr/include
  30. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBATM_DEV}/usr/include
  31. br2684ctl-install:
  32. ${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
  33. ${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
  34. include ${TOPDIR}/mk/pkg-bottom.mk