diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-libs/argp-standalone/argp-standalone-1.3-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-libs/argp-standalone/argp-standalone-1.3-r2.ebuild')
-rw-r--r-- | sys-libs/argp-standalone/argp-standalone-1.3-r2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-libs/argp-standalone/argp-standalone-1.3-r2.ebuild b/sys-libs/argp-standalone/argp-standalone-1.3-r2.ebuild new file mode 100644 index 000000000000..6e23f64515a6 --- /dev/null +++ b/sys-libs/argp-standalone/argp-standalone-1.3-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools 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="static-libs" + +DEPEND="!sys-libs/glibc" + +PATCHES=( + "${FILESDIR}/${P}-throw-in-funcdef.patch" + "${FILESDIR}/${P}-shared.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-cflags "-fgnu89-inline" + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + insinto /usr/include + doins argp.h +} |