1234567891011121314151617181920212223242526272829303132333435 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(ADK_TOPDIR)/rules.mk
- PKG_NAME:= opkg
- PKG_VERSION:= 0.2.2
- PKG_RELEASE:= 1
- PKG_MD5SUM:= b3ecef90d67d2aed2a14c2116a027482
- PKG_DESCR:= embedded package manager
- PKG_DEPENDS:= libcurl libpthread
- PKG_BUILDDEP:= curl
- PKG_SECTION:= sys/misc
- PKG_URL:= https://code.google.com/p/opkg/
- PKG_SITES:= http://downloads.yoctoproject.org/releases/opkg/
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- include $(ADK_TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,OPKG,opkg,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIGURE_ARGS+= --disable-openssl \
- --disable-ssl-curl \
- --disable-gpg
- opkg-install:
- $(INSTALL_DIR) $(IDIR_OPKG)/usr/bin
- $(INSTALL_DIR) $(IDIR_OPKG)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libopkg.so* \
- $(IDIR_OPKG)/usr/lib
- $(INSTALL_BIN) $(WRKINST)/usr/bin/opkg* \
- $(IDIR_OPKG)/usr/bin
- include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|