Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 and tools 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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  15. PKG_DESCR_1:= br2684ctl
  16. PKG_DEPENDS_1:= libatm
  17. PKG_SECTION_1:= net
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
  24. ${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
  25. ${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
  26. include ${TOPDIR}/mk/pkg-bottom.mk