Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,BITLBEE,bitlbee,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= minimal
  17. TARGET_CFLAGS+= -fPIC
  18. CONFIGURE_ARGS:= --target=${REAL_GNU_TARGET_NAME} \
  19. --prefix=/usr \
  20. --bindir=/usr/sbin \
  21. --etcdir=/etc/bitlbee \
  22. --datadir=/usr/share/bitlbee \
  23. --config=/var/lib/bitlbee \
  24. --arch=Linux \
  25. --cpu="${ARCH}" \
  26. --debug=0 \
  27. --strip=0 \
  28. --ipv6=1 \
  29. --ssl=openssl
  30. INSTALL_TARGET= install-etc install-bin
  31. post-configure:
  32. @echo 'CFLAGS+="-I${STAGING_TARGET_DIR}/usr/include/iconv"' >> \
  33. ${WRKBUILD}/Makefile.settings
  34. @echo 'LFLAGS+=${TARGET_LDFLAGS}' >> \
  35. ${WRKBUILD}/Makefile.settings
  36. bitlbee-install:
  37. ${INSTALL_DIR} ${IDIR_BITLBEE}/etc/bitlbee ${IDIR_BITLBEE}/usr/sbin
  38. ${INSTALL_DATA} ${WRKINST}/etc/bitlbee/* ${IDIR_BITLBEE}/etc/bitlbee
  39. ${INSTALL_BIN} ${WRKINST}/usr/sbin/bitlbee ${IDIR_BITLBEE}/usr/sbin
  40. include ${TOPDIR}/mk/pkg-bottom.mk