1
0

Makefile 1001 B

1234567891011121314151617181920212223242526272829303132
  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:= syslinux
  5. PKG_VERSION:= 4.03
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 086ac1c569d226a5e2ae3d605de09a1d
  8. PKG_DESCR:= lightweight bootloaders
  9. PKG_SECTION:= misc
  10. PKG_BUILDDEP:= nasm
  11. PKG_URL:= http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
  12. PKG_SITES:= http://www.kernel.org/pub/linux/utils/boot/syslinux/
  13. PKG_CFLINE_SYSLINUX:= depends on ADK_NATIVE
  14. PKG_HOST_DEPENDS:= !darwin !netbsd !openbsd !cygwin !freebsd
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,SYSLINUX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. FAKE_FLAGS+= INSTALLROOT=${WRKINST}
  19. TARGET_CFLAGS+= -std=c99
  20. post-install:
  21. $(INSTALL_DIR) $(IDIR_SYSLINUX)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/syslinux \
  23. $(IDIR_SYSLINUX)/usr/bin
  24. include ${TOPDIR}/mk/pkg-bottom.mk