| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/argp-standalone/argp-standalone-1.3.ebuild,v 1.2 2012/08/12 20:15:18 blueness Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit eutils
|
| 8 |
|
| 9 |
DESCRIPTION="Standalone argp library for use with uclibc"
|
| 10 |
HOMEPAGE="http://www.lysator.liu.se/~nisse/misc/"
|
| 11 |
SRC_URI="http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="public-domain"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 ~mips ~ppc x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND="!sys-libs/glibc"
|
| 19 |
|
| 20 |
src_prepare() {
|
| 21 |
epatch "${FILESDIR}/${P}-throw-in-funcdef.patch"
|
| 22 |
}
|
| 23 |
|
| 24 |
src_install() {
|
| 25 |
dolib.a libargp.a
|
| 26 |
|
| 27 |
insinto /usr/include
|
| 28 |
doins argp.h
|
| 29 |
}
|