diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-22 18:39:48 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-22 18:39:48 +0100 |
commit | 4088c6eaebb868c4533c83a3d7880b9fab31d45e (patch) | |
tree | 55a79694e55cafd70798d729e9f151850c5f3fab /package/obexftp/Makefile | |
parent | d0cc7e39caa254a2fb234a7f737e020dcf3b2b21 (diff) |
make obexftp work with static linking, fix ipv6 dependency
Diffstat (limited to 'package/obexftp/Makefile')
-rw-r--r-- | package/obexftp/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/package/obexftp/Makefile b/package/obexftp/Makefile index c3fd175bf..27cc64cf7 100644 --- a/package/obexftp/Makefile +++ b/package/obexftp/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= obexftp PKG_VERSION:= 0.23 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= f20762061b68bc921e80be4aebc349eb PKG_DESCR:= bluetooth ftp application PKG_SECTION:= bluetooth @@ -13,11 +13,18 @@ PKG_DEPENDS:= openobex libiconv PKG_URL:= http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=openobex/} +PKG_DESCR_LIB:= obexftp library +PKG_SECTION_LIB:= libs DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 +ifeq ($(ADK_STATIC),y) +PKG_OPTS:= libonly +endif + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,OBEXFTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBOBEXFTP,libobexftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_LIB},${PKG_SECTION_LIB},${PKG_OPTS})) CONFIGURE_STYLE:= gnu CONFIGURE_ENV+= OPENOBEX_CFLAGS="-I${STAGING_DIR}/usr/include" \ @@ -30,8 +37,9 @@ CONFIGURE_ARGS+= --disable-perl \ INSTALL_STYLE:= auto post-install: - ${INSTALL_DIR} ${IDIR_OBEXFTP}/usr/bin ${IDIR_OBEXFTP}/usr/lib + ${INSTALL_DIR} ${IDIR_OBEXFTP}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_OBEXFTP}/usr/bin/ - ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_OBEXFTP}/usr/lib/ + ${INSTALL_DIR} ${IDIR_LIBOBEXFTP}/usr/lib + ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_LIBOBEXFTP}/usr/lib/ include ${TOPDIR}/mk/pkg-bottom.mk |