| 1 |
# Copyright 1999-2005 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header$ |
| 4 |
|
| 5 |
inherit toolchain-funcs |
| 6 |
|
| 7 |
DESCRIPTION="GNU getopt library" |
| 8 |
HOMEPAGE="http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libgnugetopt/" |
| 9 |
SRC_URI="mirror://freebsd/ports/local-distfiles/lioux/${P}.tar.bz2" |
| 10 |
|
| 11 |
LICENSE="GPL-2" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="~x86-fbsd" |
| 14 |
IUSE="" |
| 15 |
|
| 16 |
DEPEND="!sys-libs/glibc" |
| 17 |
|
| 18 |
src_compile() { |
| 19 |
bsdmake CC="$(tc-getCC)" |
| 20 |
} |
| 21 |
|
| 22 |
src_install() { |
| 23 |
dolib.a libgnugetopt.a |
| 24 |
dolib.so libgnugetopt.so.1 |
| 25 |
dosym libgnugetopt.so.1 /usr/lib/libgnugetopt.so |
| 26 |
|
| 27 |
dodoc README |
| 28 |
} |