diff options
author | 2010-07-05 19:36:12 +0200 | |
---|---|---|
committer | 2010-07-05 19:36:12 +0200 | |
commit | a28f58427788070c6b7e14b11c535d4920a64972 (patch) | |
tree | b5685b55ea2ad3f59694e43c7068fb9e71242f2d /sci-libs/omalloc/omalloc-0.9.6.ebuild | |
parent | new package: sci-libs/omalloc (diff) | |
download | sci-a28f58427788070c6b7e14b11c535d4920a64972.tar.gz sci-a28f58427788070c6b7e14b11c535d4920a64972.tar.bz2 sci-a28f58427788070c6b7e14b11c535d4920a64972.zip |
[sci-libs/omalloc]: Cleanup
Diffstat (limited to 'sci-libs/omalloc/omalloc-0.9.6.ebuild')
-rw-r--r-- | sci-libs/omalloc/omalloc-0.9.6.ebuild | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/sci-libs/omalloc/omalloc-0.9.6.ebuild b/sci-libs/omalloc/omalloc-0.9.6.ebuild index 103e92aac..a25d7c14d 100644 --- a/sci-libs/omalloc/omalloc-0.9.6.ebuild +++ b/sci-libs/omalloc/omalloc-0.9.6.ebuild @@ -4,7 +4,7 @@ EAPI="2" -inherit eutils elisp-common autotools versionator +inherit eutils versionator toolchain-funcs Sing_PV=$(replace_all_version_separators -) Sing_DIR=$(get_version_component_range 1-3 ${MY_PV}) @@ -20,32 +20,22 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" -RDEPEND="" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/Singular-3-1-1/omalloc +S=${WORKDIR}/Singular-3-1-1/omalloc # Until tarballs are mirrored: RESTRICT="mirror" -src_prepare (){ - epatch "${FILESDIR}"/parallel-build.patch +pkg_setup() { + tc-export CC CXX } -src_configure() { - # Taking care of ${CC} and friends. - tc-export CC CPP CXX - econf --prefix="${D}"/usr -} - -src_compile () { - emake || die "make failed" +src_prepare (){ + epatch "${FILESDIR}"/parallel-build.patch } src_install () { - emake DESTDIR="$D" install || die "install failed" + emake DESTDIR="${D}" install || die "install failed" # dolib.a *.a # insinto /usr/include # doins omalloc.h omalloc.c mylimits.h - } +} |