Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= obexftp
  7. PKG_VERSION:= 0.23
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= f20762061b68bc921e80be4aebc349eb
  10. PKG_DESCR:= bluetooth ftp application
  11. PKG_SECTION:= bluetooth
  12. PKG_DEPENDS:= openobex libiconv
  13. PKG_URL:= http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=openobex/}
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,OBEXFTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ENV+= OPENOBEX_CFLAGS="-I${STAGING_DIR}/usr/include" \
  20. OPENOBEX_LIBS="-L${STAGING_DIR}/usr/lib \
  21. -lopenobex -lbluetooth -liconv"
  22. CONFIGURE_ARGS+= --disable-perl \
  23. --disable-ruby \
  24. --disable-tcl \
  25. --disable-python
  26. INSTALL_STYLE:= auto
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_OBEXFTP}/usr/bin ${IDIR_OBEXFTP}/usr/lib
  29. ${CP} ${WRKINST}/usr/bin/* ${IDIR_OBEXFTP}/usr/bin/
  30. ${CP} ${WRKINST}/usr/lib/* ${IDIR_OBEXFTP}/usr/lib/
  31. include ${TOPDIR}/mk/pkg-bottom.mk