diff options
Diffstat (limited to 'sci-libs/liborigin/liborigin-20060616.ebuild')
-rw-r--r-- | sci-libs/liborigin/liborigin-20060616.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-libs/liborigin/liborigin-20060616.ebuild b/sci-libs/liborigin/liborigin-20060616.ebuild new file mode 100644 index 000000000000..e47728311e0d --- /dev/null +++ b/sci-libs/liborigin/liborigin-20060616.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20060616.ebuild,v 1.1 2006/11/07 20:23:52 george Exp $ + + +DESCRIPTION="Library for reading Origin spreadshits" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/liborigin/" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +SLOT="0" +IUSE="" + +DEPEND="" + +src_compile() { + # the Makefile.LINUX is very basic, and *both* (and the only) "action" lines + # need to be adjusted. It is easier to simply build stuff in a proper way + # directly here. + g++ -shared -Wl,-soname,liborigin.so.0 ${CXXFLAGS} -fPIC OPJFile.cpp \ + -o liborigin.so.0.0.1 + g++ -o opj2dat ${CXXFLAGS} opj2dat.cpp OPJFile.cpp + ln -s liborigin.so.0.0.1 liborigin.so.0 + ln -s liborigin.so.0 liborigin.so +} + +src_install() { + dolib liborigin.so* + dobin opj2dat + dodoc COPYING README ws4.opj + insinto /usr/include + doins OPJFile.h +} |