fblogo-0.5.2.ebuild 837 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 1999-2010 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils toolchain-funcs
  4. DESCRIPTION="Creates images to substitute Linux boot logo"
  5. #HOMEPAGE="http://freakzone.net/gordon/#fblogo"
  6. HOMEPAGE="https://www.gentoo.org/"
  7. #SRC_URI="http://freakzone.net/gordon/src/${P}.tar.gz"
  8. SRC_URI="mirror://gentoo/${P}.tar.gz"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="~amd64 arm ppc ~sparc x86"
  12. IUSE=""
  13. RDEPEND="media-libs/libpng
  14. sys-libs/zlib"
  15. DEPEND="${RDEPEND}
  16. >=sys-apps/sed-4"
  17. src_unpack() {
  18. unpack ${A}
  19. cd "${S}"
  20. epatch "${FILESDIR}"/fblogo-0.5.2-cross.patch
  21. sed -i -e '/-o fblogo/d' \
  22. -e 's:LIBS:LDLIBS:' \
  23. Makefile || die
  24. }
  25. src_compile() {
  26. emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die
  27. }
  28. src_install() {
  29. emake DESTDIR="${D}" install || die
  30. dodoc README CHANGES
  31. }