Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= obexftp
  5. PKG_VERSION:= 0.23
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f20762061b68bc921e80be4aebc349eb
  8. PKG_DESCR:= bluetooth ftp application
  9. PKG_SECTION:= bluetooth
  10. PKG_DEPENDS:= openobex libiconv
  11. PKG_URL:= http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=openobex/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,OBEXFTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= OPENOBEX_CFLAGS="-I${STAGING_DIR}/usr/include" \
  18. OPENOBEX_LIBS="-L${STAGING_DIR}/usr/lib \
  19. -lopenobex -lbluetooth -liconv"
  20. CONFIGURE_ARGS+= --disable-perl \
  21. --disable-ruby \
  22. --disable-tcl \
  23. --disable-python
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_OBEXFTP}/usr/bin ${IDIR_OBEXFTP}/usr/lib
  27. ${CP} ${WRKINST}/usr/bin/* ${IDIR_OBEXFTP}/usr/bin/
  28. ${CP} ${WRKINST}/usr/lib/* ${IDIR_OBEXFTP}/usr/lib/
  29. include ${TOPDIR}/mk/pkg-bottom.mk