diff options
author | George Shapovalov <george@gentoo.org> | 2003-06-09 18:28:11 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-06-09 18:28:11 +0000 |
commit | 7b344141e756e076d993e029f367b3577d618313 (patch) | |
tree | 526e262b61ee51c385e9008407e89b199e83b36c /media-libs/qhull | |
parent | changed LICENSE from GPL-2 to LGPL-2.1 (diff) | |
download | historical-7b344141e756e076d993e029f367b3577d618313.tar.gz historical-7b344141e756e076d993e029f367b3577d618313.tar.bz2 historical-7b344141e756e076d993e029f367b3577d618313.zip |
update to ebuild to make it install shared lib in addition to static
Diffstat (limited to 'media-libs/qhull')
-rw-r--r-- | media-libs/qhull/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/qhull/Manifest | 4 | ||||
-rw-r--r-- | media-libs/qhull/files/digest-qhull-3.1-r1 | 1 | ||||
-rw-r--r-- | media-libs/qhull/qhull-3.1-r1.ebuild | 62 |
4 files changed, 71 insertions, 2 deletions
diff --git a/media-libs/qhull/ChangeLog b/media-libs/qhull/ChangeLog index 65fd10afe7bd..b6f901874b55 100644 --- a/media-libs/qhull/ChangeLog +++ b/media-libs/qhull/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/qhull # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.4 2003/02/12 07:16:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.5 2003/06/09 18:28:07 george Exp $ + + 09 Jun 2003; George Shapovalov <george@gentoo.org> qhull-3.1-r1.ebuild, files/digest-qhull-3.1-r1 : + updated ebuild to make and install shared version of library in addition to static. + Thanks to Brent Redeker <bredeker@cc.edu> for submission 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/media-libs/qhull/Manifest b/media-libs/qhull/Manifest index 498d23823821..db0ce0d18393 100644 --- a/media-libs/qhull/Manifest +++ b/media-libs/qhull/Manifest @@ -1,3 +1,5 @@ -MD5 a73cf8a049bc99df59d2367f52c7bc11 ChangeLog 1079 MD5 6f2f6a43d344ca690da309996f6693d0 qhull-3.1.ebuild 884 +MD5 62e2d1fc51f1d1bc5f490c2c7c64754a qhull-3.1-r1.ebuild 1379 +MD5 f6284333043ee8632394d6d9bfe657e4 ChangeLog 1327 MD5 9b2354326e097e633a3488a6a22fe7c9 files/digest-qhull-3.1 57 +MD5 9b2354326e097e633a3488a6a22fe7c9 files/digest-qhull-3.1-r1 57 diff --git a/media-libs/qhull/files/digest-qhull-3.1-r1 b/media-libs/qhull/files/digest-qhull-3.1-r1 new file mode 100644 index 000000000000..eed68bf79af2 --- /dev/null +++ b/media-libs/qhull/files/digest-qhull-3.1-r1 @@ -0,0 +1 @@ +MD5 08b85478c0b8e4c88aa72e6a5b125464 qhull3.1.tgz 442679 diff --git a/media-libs/qhull/qhull-3.1-r1.ebuild b/media-libs/qhull/qhull-3.1-r1.ebuild new file mode 100644 index 000000000000..56f0b8e68c74 --- /dev/null +++ b/media-libs/qhull/qhull-3.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/qhull-3.1-r1.ebuild,v 1.1 2003/06/09 18:28:07 george Exp $ + +IUSE="" + +S=${WORKDIR}/qhull3.1 +DESCRIPTION="Geometry library" +SRC_URI="http://www.geom.umn.edu/software/qhull/qhull3.1.tgz" +HOMEPAGE="http://www.geom.umn.edu/software/qhull/" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~x86 ~sparc " + +DEPEND="" + +src_compile() { + cd src + # This echo statement appends a new build target to the exisiting Makefile + # for an additional shared library; originally added to support octave-forge + echo 'libqhull.so: $(OBJS) + c++ -shared -Xlinker -soname -Xlinker $@ -o libqhull.so $(OBJS)' >> Makefile.txt + # This line now specifies the build targets, including the target added on + # the previous line + make -f Makefile.txt all libqhull.so + +} + +src_install () { + + cd src + + dolib libqhull.a + # This line installs the extra shared lib compiled with the target added + # above + dolib.so libqhull.so + dobin qconvex + dobin qdelaunay + dobin qhalf + dobin qhull + dobin qvoronoi + dobin rbox + + dodir /usr/include/qhull + insinto /usr/include/qhull + doins *.h + + cd ${S} + dodoc Announce.txt COPYING.txt File_id.diz README.txt REGISTER.txt + + cd html + + rename .htm .html *.htm + rename .man .1 *.man + + dohtml -a html,gif * + + doman *.1 + + dodoc *.txt +} |