Makefile 975 B

123456789101112131415161718192021222324252627282930313233
  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.20
  8. PKG_RELEASE:= 2
  9. PKG_MD5SUM:= 86224a7a1880c25e9ba0b8997a97d299
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=openobex/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,OBEXFTP,obexftp,${PKG_VERSION}-${PKG_RELEASE}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ENV+= OPENOBEX_CFLAGS="-I${STAGING_DIR}/usr/include" \
  16. OPENOBEX_LIBS="-L${STAGING_DIR}/usr/lib \
  17. -lopenobex -lbluetooth -liconv"
  18. CONFIGURE_ARGS+= --disable-perl \
  19. --disable-python
  20. INSTALL_STYLE:= auto
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_OBEXFTP}/usr/bin
  23. ${INSTALL_DIR} ${IDIR_OBEXFTP}/usr/lib
  24. ${CP} ${WRKINST}/usr/bin/* ${IDIR_OBEXFTP}/usr/bin/
  25. ${CP} ${WRKINST}/usr/lib/* ${IDIR_OBEXFTP}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk