Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= shorewall-shell
  5. PKG_VERSION:= 4.0.14.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ab61c2f3db82382351f432f783980fa7
  8. PKG_DESCR:= shell compiler for shorewall
  9. PKG_SECTION:= net
  10. PKG_URL:= http://www.shorewall.net
  11. PKG_SITES:= http://www1.shorewall.net/pub/shorewall/4.0/shorewall-4.0.14/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,SHOREWALL_SHELL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. do-build:
  19. PREFIX="${WRKINST}" ${WRKBUILD}/install.sh -n
  20. ifeq ($(ADK_PACKAGE_SHOREWALL_STRIPSHARED),y)
  21. ${BASH} ./files/downstrip ${WRKINST}/usr/share/${PKG_NAME}
  22. endif
  23. do-install:
  24. ${INSTALL_DIR} ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}
  25. ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/version \
  26. ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  27. ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/lib.* \
  28. ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  29. ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/prog.* \
  30. ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  31. ${INSTALL_BIN} ${WRKINST}/usr/share/${PKG_NAME}/compiler \
  32. ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  33. include ${TOPDIR}/mk/pkg-bottom.mk