Makefile 1.0 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= opkg
  5. PKG_VERSION:= 0.2.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b3ecef90d67d2aed2a14c2116a027482
  8. PKG_DESCR:= embedded package manager
  9. PKG_DEPENDS:= libcurl libpthread
  10. PKG_BUILDDEP:= curl
  11. PKG_SECTION:= sys/misc
  12. PKG_URL:= https://code.google.com/p/opkg/
  13. PKG_SITES:= http://downloads.yoctoproject.org/releases/opkg/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,OPKG,opkg,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --disable-openssl \
  18. --disable-ssl-curl \
  19. --disable-gpg
  20. opkg-install:
  21. $(INSTALL_DIR) $(IDIR_OPKG)/usr/bin
  22. $(INSTALL_DIR) $(IDIR_OPKG)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libopkg.so* \
  24. $(IDIR_OPKG)/usr/lib
  25. $(INSTALL_BIN) $(WRKINST)/usr/bin/opkg* \
  26. $(IDIR_OPKG)/usr/bin
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk