2015-02-17 16:24:22 +01:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2014-07-14 16:10:48 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-02-17 16:24:22 +01:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libaal/libaal-1.0.6.ebuild,v 1.6 2014/12/04 08:29:15 ago Exp $
|
2014-07-14 16:10:48 +02:00
|
|
|
|
|
|
|
EAPI="4"
|
|
|
|
|
|
|
|
inherit toolchain-funcs
|
|
|
|
|
|
|
|
DESCRIPTION="library required by reiser4progs"
|
|
|
|
HOMEPAGE="https://sourceforge.net/projects/reiser4/"
|
|
|
|
SRC_URI="mirror://sourceforge/reiser4/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2015-02-17 16:24:22 +01:00
|
|
|
KEYWORDS="amd64 arm ppc ppc64 -sparc x86"
|
2014-07-14 16:10:48 +02:00
|
|
|
IUSE="static-libs"
|
|
|
|
|
2015-02-17 16:24:22 +01:00
|
|
|
DEPEND="virtual/os-headers"
|
|
|
|
|
2014-07-14 16:10:48 +02:00
|
|
|
src_prepare() {
|
|
|
|
# remove stupid CFLAG hardcodes
|
|
|
|
sed -i \
|
|
|
|
-e "/GENERIC_CFLAGS/s:-O3::" \
|
|
|
|
-e "/^CFLAGS=/s:\"\":\"${CFLAGS}\":" \
|
|
|
|
configure || die "sed"
|
|
|
|
printf '#!/bin/sh\n:\n' > run-ldconfig
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
|
|
--enable-libminimal \
|
|
|
|
--enable-memory-manager \
|
|
|
|
$(use_enable static-libs static)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
gen_usr_ldscript -a aal{,-minimal}
|
|
|
|
}
|