Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:= bitlbee
  5. PKG_VERSION:= 3.0.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4d00c6e09859b653f955b16b988db0ac
  8. PKG_DESCR:= IRC gateway to IM chat networks
  9. PKG_SECTION:= chat
  10. PKG_DEPENDS:= glib libopenssl
  11. PKG_BUILDDEP:= glib libiconv-tiny openssl
  12. PKG_URL:= http://www.bitlbee.org/
  13. PKG_SITES:= http://get.bitlbee.org/src/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,BITLBEE,bitlbee,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= minimal
  18. TARGET_CFLAGS+= -fPIC
  19. CONFIGURE_ARGS:= --target=${GNU_TARGET_NAME} \
  20. --prefix=/usr \
  21. --bindir=/usr/sbin \
  22. --etcdir=/etc/bitlbee \
  23. --datadir=/usr/share/bitlbee \
  24. --config=/var/lib/bitlbee \
  25. --arch=Linux \
  26. --cpu="${ARCH}" \
  27. --debug=0 \
  28. --strip=0 \
  29. --ipv6=1 \
  30. --ssl=openssl
  31. INSTALL_TARGET= install-etc install-bin
  32. post-configure:
  33. @echo 'CFLAGS+="-I${STAGING_TARGET_DIR}/usr/include/iconv"' >> \
  34. ${WRKBUILD}/Makefile.settings
  35. @echo 'LFLAGS+=${TARGET_LDFLAGS}' >> \
  36. ${WRKBUILD}/Makefile.settings
  37. bitlbee-install:
  38. ${INSTALL_DIR} ${IDIR_BITLBEE}/etc/bitlbee ${IDIR_BITLBEE}/usr/sbin
  39. ${INSTALL_DATA} ${WRKINST}/etc/bitlbee/* ${IDIR_BITLBEE}/etc/bitlbee
  40. ${INSTALL_BIN} ${WRKINST}/usr/sbin/bitlbee ${IDIR_BITLBEE}/usr/sbin
  41. include ${TOPDIR}/mk/pkg-bottom.mk