Makefile 1.4 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:= 1.2.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 26b9bfc5446bdf0e932e8074d117be67
  8. PKG_DESCR:= IRC gateway to IM chat networks
  9. PKG_SECTION:= chat
  10. PKG_DEPENDS:= glib libiconv libopenssl
  11. PKG_BUILDDEP:= glib libiconv 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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= minimal
  17. TCFLAGS+= -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_DIR}/usr/include/iconv"' >> \
  33. ${WRKBUILD}/Makefile.settings
  34. @echo 'LFLAGS+="-L${STAGING_DIR}/usr/lib"' >> \
  35. ${WRKBUILD}/Makefile.settings
  36. post-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