diff options
author | David Holm <dholm@gentoo.org> | 2003-09-18 22:44:57 +0000 |
---|---|---|
committer | David Holm <dholm@gentoo.org> | 2003-09-18 22:44:57 +0000 |
commit | eb07c98056237f7f255bde274d653e10d0995fd4 (patch) | |
tree | 3a14de23ec02a3f3b951f16a6ea2600dd9388fef /dev-ada | |
parent | Make symbolic links into /usr/lib. Make garlic available on ~ppc. (diff) | |
download | gentoo-2-eb07c98056237f7f255bde274d653e10d0995fd4.tar.gz gentoo-2-eb07c98056237f7f255bde274d653e10d0995fd4.tar.bz2 gentoo-2-eb07c98056237f7f255bde274d653e10d0995fd4.zip |
Make symbolic links into /usr/lib. Make garlic available on ~ppc.
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/garlic/Manifest | 2 | ||||
-rw-r--r-- | dev-ada/garlic/files/digest-garlic-3.15p-r1 | 1 | ||||
-rw-r--r-- | dev-ada/garlic/garlic-3.15p-r1.ebuild | 60 |
3 files changed, 62 insertions, 1 deletions
diff --git a/dev-ada/garlic/Manifest b/dev-ada/garlic/Manifest index 6bf71c004404..6d3e06ec2734 100644 --- a/dev-ada/garlic/Manifest +++ b/dev-ada/garlic/Manifest @@ -1,6 +1,6 @@ MD5 a4a02621358ebb5a90de180447bf5f7e ChangeLog 591 MD5 9d359eac0028d3eab4c11ab7ad9071ba metadata.xml 505 -MD5 8c79c4439882f09396612617e626636c garlic-3.15p-r1.ebuild 1799 +MD5 753b2dbe7c18756cda7c95c185d1f47f garlic-3.15p-r1.ebuild 1799 MD5 37d25e0661c9e22be4ee49dbb61a4f6c garlic-3.15p.ebuild 1612 MD5 c3d08801b20b2340914aaf73923b6762 files/digest-garlic-3.15p 65 MD5 c3d08801b20b2340914aaf73923b6762 files/digest-garlic-3.15p-r1 65 diff --git a/dev-ada/garlic/files/digest-garlic-3.15p-r1 b/dev-ada/garlic/files/digest-garlic-3.15p-r1 new file mode 100644 index 000000000000..959a615989f3 --- /dev/null +++ b/dev-ada/garlic/files/digest-garlic-3.15p-r1 @@ -0,0 +1 @@ +MD5 44e478a03eef8d65d597558f826b3128 glade-3.15p-src.tgz 1061859 diff --git a/dev-ada/garlic/garlic-3.15p-r1.ebuild b/dev-ada/garlic/garlic-3.15p-r1.ebuild new file mode 100644 index 000000000000..28f4eaf9df90 --- /dev/null +++ b/dev-ada/garlic/garlic-3.15p-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/garlic/garlic-3.15p-r1.ebuild,v 1.1 2003/09/18 22:44:51 dholm Exp $ + +S="${WORKDIR}/glade-${PV}-src" +DESCRIPTION="The GNAT implementation of the ARM Annex for Distributed Systems." +SRC_URI="http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/glade/glade-${PV}-src.tgz" + +HOMEPAGE="http://www.gnat.com/" +LICENSE="GMGPL" +DEPEND="dev-lang/gnat" +RDEPEND="" +SLOT="0" +IUSE="" +KEYWORDS="~x86 ~ppc" + +inherit gnat + +src_compile() { + local CFLAGS="${ADACFLAGS} -fPIC" + local ADACFLAGS="${ADACFLAGS} -fPIC" + +# ./configure \ +# --host=${CHOST} \ +# --prefix=/usr \ +# --infodir=/usr/share/info \ +# --mandir=/usr/share/man || die "./configure failed" + econf || die "./configure failed" + emake || die + + ${ADAC} -shared -Wl,-soname,libgarlic-${PV}.so.1 \ + -o Garlic/libgarlic-${PV}.so.1 Garlic/*.o -lc +} + +src_install () { + make prefix=${D}/usr \ + GARLIC=${D}/usr/lib/ada/adainclude/garlic install || die + + dodoc COPYING INSTALL NEWS README + + insinto /usr/lib/ada/adalib/garlic + chmod 0755 Garlic/libgarlic-${PV}.so.1 + doins Garlic/libgarlic-${PV}.so.1 + cd ${D}/usr/lib/ada/adalib/garlic/ + ln -s libgarlic-${PV}.so.1 libgarlic-${PV}.so + ln -s libgarlic-${PV}.so libgarlic.so + dosym /usr/lib/ada/adalib/garlic/libgarlic-${PV}.so.1 /usr/lib + dosym /usr/lib/ada/adalib/garlic/libgarlic-${PV}.so /usr/lib + dosym /usr/lib/ada/adalib/garlic/libgarlic.so /usr/lib + cd ${S} + + # And of course, as usualy make install does not conform to GNAE + mv ${D}/usr/lib/ada/adainclude/garlic/*.ali \ + ${D}/usr/lib/ada/adalib/garlic/ + mv ${D}/usr/lib/ada/adainclude/garlic/lib*.a \ + ${D}/usr/lib/ada/adalib/garlic/ + + #install examples + cp -r Examples ${D}/usr/share/doc/${PF}/ +} |