openr2-1.3.0.ebuild 551 B

123456789101112131415161718192021222324252627
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=3
  4. inherit autotools base
  5. DESCRIPTION="An open implementation of the MFC/R2 telephony signaling protocol"
  6. HOMEPAGE="http://libopenr2.org/"
  7. SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64"
  11. IUSE=""
  12. RDEPEND="net-misc/dahdi"
  13. PATCHES=( "${FILESDIR}/${PV}-respect-user-cflags.patch" )
  14. src_prepare() {
  15. base_src_prepare
  16. eautoreconf
  17. }
  18. src_install() {
  19. emake DESTDIR="${D}" install || die
  20. }