Files
@ 953220eb406f
Branch filter:
Location: ohnobinki_overlay/dev-libs/libstrl/libstrl-0.2.ebuild - annotation
953220eb406f
1009 B
application/vnd.gentoo.ebuild
dev-libs/libstrl: Support the static-libs useflag.
(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, signed Manifest commit with key 6BA81050)
(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, signed Manifest commit with key 6BA81050)
393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 f8d5c1a9af05 953220eb406f 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 1891cde53d37 953220eb406f 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 393ea9b79917 953220eb406f 953220eb406f 953220eb406f 393ea9b79917 393ea9b79917 | # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild,v 1.12 2009/11/04 12:12:05 arfrever Exp $
EAPI="2"
inherit base multilib
DESCRIPTION="Compat library for functions like strlcpy(), strlcat(), and strnlen()"
HOMEPAGE="http://ohnopub.net/~ohnobinki/libstrl/"
SRC_URI="ftp://mirror.calvin.edu/~binki/${P}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~amd64-linux ~x86"
IUSE="doc static-libs test"
DEPEND="doc? ( app-doc/doxygen )
test? ( dev-libs/check )"
RDEPEND=""
src_configure() {
econf \
--docdir=/usr/share/doc/${PF} \
$(use_enable static-libs static) \
$(use_with doc doxygen) \
$(use_with test check)
}
src_install() {
base_src_install
# We remove the .la file unconditionally (even when the static-libs
# flags is set) because upstream (myself) only supports linking
# through pkg-config.
rm -vf "${D}"/usr/$(get_libdir)/libstrl.la || die
}
|