Files
@ 1e48b341ee7c
Branch filter:
Location: ohnobinki_overlay/dev-libs/iniparser/iniparser-3.0b-r1.ebuild - annotation
1e48b341ee7c
1.1 KiB
application/vnd.gentoo.ebuild
sys-apps/abi-wrapper: Update abi-wrapper based on patch from vlooe which protects abi-wrapper from bad ABI and DEFAULT_ABI settings.
(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 6BA81050)
(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 6BA81050)
2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b 2222fea1b95b | # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/iniparser/iniparser-3.0b-r1.ebuild,v 1.15 2010/04/11 08:18:38 dev-zero Exp $
inherit eutils multilib toolchain-funcs
MY_P="${PN}${PV}"
DESCRIPTION="A free stand-alone ini file parsing library."
HOMEPAGE="http://ndevilla.free.fr/iniparser/"
SRC_URI="http://ndevilla.free.fr/iniparser/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${P}-fix-set-functions.patch"
}
src_compile() {
echo "CFLAGS: ${CFLAGS}"
sed -i \
-e "s|\(CFLAGS =\) -O2|\1 ${CFLAGS}|" \
-e "s|\(LDFLAGS =\)|\1 ${LDFLAGS}|" \
-e "s|/usr/lib|/usr/$(get_libdir)|" \
Makefile || die "sed failed"
emake CC=$(tc-getCC) AR="$(tc-getAR)" || die "emake failed"
}
src_install() {
dolib libiniparser.a libiniparser.so.0
dosym libiniparser.so.0 /usr/$(get_libdir)/libiniparser.so
insinto /usr/include
doins src/*.h
dodoc AUTHORS README
dohtml html/*
}
|