recipe 983 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Recipe file for weechat.
  2. #
  3. # Maintainers: (C) 2016 Mateus P. Rodrigues, mprodrigues@dragora.org.
  4. #
  5. # Under the terms of the GNU General Public License.
  6. program=weechat
  7. version=1.5
  8. release=1
  9. description="
  10. WeeChat is a fast, light and extensible chat client. It runs on many
  11. platforms like Linux, Unix, BSD, GNU Hurd, Mac OS X and Windows
  12. (bash/ubuntu and cygwin).
  13. "
  14. homepage=https://weechat.org/
  15. license=GPLv3
  16. tarname=${program}-${version}.tar.bz2
  17. # Remote source(s)
  18. fetch="https://weechat.org/files/src/$tarname"
  19. # Parallel jobs for the compiler
  20. jobs=1
  21. # Source documentation
  22. docs="ABOUT-NLS AUTHORS* COPYING README*"
  23. build() {
  24. unpack "${tardir}/$tarname"
  25. cd "$srcdir"
  26. ./autogen.sh
  27. ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS"
  28. make -j${jobs}
  29. make -j${jobs} install DESTDIR="$destdir"
  30. # Copy documentation
  31. mkdir -p "${destdir}/usr/share/doc/${program}-${version}"
  32. cp -p $docs "${destdir}/usr/share/doc/${program}-${version}/"
  33. }