1
0

Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. PKG_SUBPKGS:= LIBATM BR2684CTL
  15. PKGSD_BR2684CTL:= br2684ctl ATM utility
  16. PKGSS_BR2684CTL:= libatm
  17. PKGSC_BR2684CTL:= route
  18. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. $(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
  25. ${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
  26. ${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
  27. include ${TOPDIR}/mk/pkg-bottom.mk