Makefile 1.3 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:= linux-atm
  5. PKG_VERSION:= 2.5.1
  6. PKG_RELEASE:= 3
  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_LIBNAME:= libatm
  14. PKG_OPTS:= dev
  15. PKG_HOST_DEPENDS:= !freebsd
  16. PKG_SUBPKGS:= LIBATM BR2684CTL
  17. PKGSD_BR2684CTL:= br2684ctl ATM utility
  18. PKGSS_BR2684CTL:= libatm
  19. PKGSC_BR2684CTL:= route
  20. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  21. ifeq ($(ADK_STATIC),y)
  22. PKG_OPTS+= libmix
  23. endif
  24. include ${TOPDIR}/mk/package.mk
  25. $(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  26. $(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
  27. libatm-install:
  28. ${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
  29. ${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
  30. br2684ctl-install:
  31. ${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
  32. ${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
  33. include ${TOPDIR}/mk/pkg-bottom.mk