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/sys-libs/argp-standalone/argp-standalone-1.3-r1.ebuild

35 lines
671 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils flag-o-matic
DESCRIPTION="Standalone argp library for use with uclibc"
HOMEPAGE="http://www.lysator.liu.se/~nisse/misc/"
SRC_URI="http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~s390 ~sh ~x86"
IUSE=""
DEPEND="!sys-libs/glibc"
src_prepare() {
epatch "${FILESDIR}/${P}-throw-in-funcdef.patch"
}
src_configure() {
append-cflags -fgnu89-inline
default
}
src_install() {
dolib.a libargp.a
insinto /usr/include
doins argp.h
}