You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libb64/libb64-1.2.ebuild

30 lines
619 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Fast Base64 encoding/decoding routines"
HOMEPAGE="http://libb64.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.src.zip"
LICENSE="CC-PD"
# static library, so always rebuild
SLOT="0/${PVR}"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
src_compile() {
# override -O3, -Werror non-sense
emake -C src CFLAGS="${CFLAGS} -I../include"
}
src_install() {
dolib src/libb64.a
insinto /usr/include
doins -r include/b64
dodoc AUTHORS BENCHMARKS CHANGELOG README
}