Makefile 1.3 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:= 3
  7. PKG_MD5SUM:= 9560b0e1f410a05b849dfdab465dd758
  8. PKG_DESCR:= ATM library for Linux
  9. PKG_SECTION:= libs
  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:= route
  21. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  22. ifeq ($(ADK_STATIC),y)
  23. PKG_OPTS+= libmix
  24. endif
  25. include ${TOPDIR}/mk/package.mk
  26. $(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  27. $(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
  28. libatm-install:
  29. ${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
  30. ${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
  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