1
0

Makefile 1.3 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:= 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. do-install:
  16. PREFIX="${WRKINST}" ${WRKBUILD}/install.sh -n
  17. ifeq ($(ADK_PACKAGE_SHOREWALL_STRIPSHARED),y)
  18. ${BASH} ./files/downstrip ${WRKINST}/usr/share/${PKG_NAME}
  19. endif
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}
  22. ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/version ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  23. ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/lib.* ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  24. ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/prog.* ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  25. ${INSTALL_BIN} ${WRKINST}/usr/share/${PKG_NAME}/compiler ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
  26. include ${TOPDIR}/mk/pkg-bottom.mk