Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= 3
  7. PKG_MD5SUM:= 9560b0e1f410a05b849dfdab465dd758
  8. PKG_DESCR:= atm library
  9. PKG_SECTION:= libs/net
  10. PKG_BUILDDEP:= flex-host
  11. PKG_URL:= http://linux-atm.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-atm/}
  13. PKG_NOPARALLEL:= 1
  14. PKG_LIBNAME:= libatm
  15. PKG_OPTS:= dev
  16. PKG_HOST_DEPENDS:= !freebsd
  17. PKG_SUBPKGS:= LIBATM BR2684CTL
  18. PKGSD_BR2684CTL:= br2684ctl ATM utility
  19. PKGSS_BR2684CTL:= libatm
  20. PKGSC_BR2684CTL:= net/route
  21. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  22. include ${TOPDIR}/mk/package.mk
  23. $(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  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. br2684ctl-install:
  29. ${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
  30. ${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
  31. include ${TOPDIR}/mk/pkg-bottom.mk