12345678910111213141516171819202122232425262728293031323334353637 |
- # Copyright 1999-2014 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=5
- inherit eutils multilib toolchain-funcs
- DESCRIPTION="barcode generator"
- HOMEPAGE="https://www.gnu.org/software/barcode/"
- SRC_URI="mirror://gnu/barcode/${P}.tar.gz"
- LICENSE="GPL-2"
- SLOT="0"
- KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
- IUSE=""
- RDEPEND="app-text/libpaper"
- DEPEND="${RDEPEND}"
- src_prepare() {
- epatch "${FILESDIR}"/${PV}-info.patch
- sed -i -e '/^LDFLAGS =/s:=:+=:' \
- -e "/^aLIBDIR/s:lib:$(get_libdir):" \
- -e '/^INFODIR/s:info:share/info:' \
- -e '/^MAN/s:man:share/man:' \
- Makefile.in || die
- }
- src_configure() {
- tc-export CC
- econf
- }
- src_install() {
- emake install prefix="${ED}/usr"
- dodoc ChangeLog README TODO doc/barcode.{pdf,ps}
- }
|