lzip-1.19_pre1.ebuild 805 B

123456789101112131415161718192021222324252627
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit toolchain-funcs
  5. DESCRIPTION="lossless data compressor based on the LZMA algorithm"
  6. HOMEPAGE="http://www.nongnu.org/lzip/lzip.html"
  7. SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P/_/-}.tar.gz"
  8. LICENSE="GPL-2+"
  9. SLOT="0"
  10. KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
  11. S="${WORKDIR}/${P/_/-}"
  12. src_configure() {
  13. # not autotools-based
  14. ./configure \
  15. --prefix="${EPREFIX}"/usr \
  16. CXX="$(tc-getCXX)" \
  17. CPPFLAGS="${CPPFLAGS}" \
  18. CXXFLAGS="${CXXFLAGS}" \
  19. LDFLAGS="${LDFLAGS}" || die
  20. }