diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-10-03 08:04:15 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-10-03 08:04:15 +0000 |
commit | 0cdeb3349e6e7de55d86a73864ee338e2c3ab65f (patch) | |
tree | 562f81d33dacc79a0e759e896b03c5f7a2be724a /sci-chemistry | |
parent | Version bump. Add ree18 support. (diff) | |
download | historical-0cdeb3349e6e7de55d86a73864ee338e2c3ab65f.tar.gz historical-0cdeb3349e6e7de55d86a73864ee338e2c3ab65f.tar.bz2 historical-0cdeb3349e6e7de55d86a73864ee338e2c3ab65f.zip |
Respecting LDFLAGS now, 333847; Prefix ready and keyworded for ~-linux
Package-Manager: portage-2.2_rc88/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/easychem/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/easychem/Manifest | 12 | ||||
-rw-r--r-- | sci-chemistry/easychem/easychem-0.6-r1.ebuild | 40 | ||||
-rw-r--r-- | sci-chemistry/easychem/files/0.6-gentoo.patch | 65 |
4 files changed, 119 insertions, 6 deletions
diff --git a/sci-chemistry/easychem/ChangeLog b/sci-chemistry/easychem/ChangeLog index c841c39b39f7..e3be73c55d50 100644 --- a/sci-chemistry/easychem/ChangeLog +++ b/sci-chemistry/easychem/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/easychem # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/ChangeLog,v 1.16 2010/06/17 10:30:24 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/ChangeLog,v 1.17 2010/10/03 08:04:15 jlec Exp $ + +*easychem-0.6-r1 (03 Oct 2010) + + 03 Oct 2010; Justin Lecher <jlec@gentoo.org> +files/0.6-gentoo.patch, + +easychem-0.6-r1.ebuild: + Respecting LDFLAGS now, 333847; Prefix ready and keyworded for ~-linux 17 Jun 2010; Justin Lecher <jlec@gentoo.org> easychem-0.6.ebuild: Some QA diff --git a/sci-chemistry/easychem/Manifest b/sci-chemistry/easychem/Manifest index 7ad251112cbd..3ac60c42ea7c 100644 --- a/sci-chemistry/easychem/Manifest +++ b/sci-chemistry/easychem/Manifest @@ -1,15 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 0.6-gentoo.patch 1766 RMD160 6290e975debffd083f9eeade3d2107312e840b63 SHA1 355f351fbbe3dd38a13a3e859c69430eb0aeca89 SHA256 721f03bcd037883c74072199e15341d62049c517af74cfdbfb88b0e1562cf685 AUX easychem-0.6-prestrip.patch 287 RMD160 052b61574f473023362c97a9a52be435c098e2e6 SHA1 a190864b7ba5ed91aa598e0cf31bd7bc8c953ba7 SHA256 a7db1703baf15dff99792927f7f37d1b509842c4fa75e2aaf84521f15a4902b3 DIST easychem-0.6.tar.gz 265458 RMD160 ac24de0d180c3c835a352017f6aab6c06395347f SHA1 6714feace69c897d28bab3ddf6d843d3faf62717 SHA256 1dba1a1ed1862c723cd77184a90ee7571a26ebcb0d3c22e7e032af1cbafe284d +EBUILD easychem-0.6-r1.ebuild 955 RMD160 5fc05dfa43f019498de47dd0a5293347a461d53a SHA1 be1806fa152ccf3e4974460f3f537a65ee56e6ea SHA256 ce928618fe439f12ce6fe88dd1b96cb639508012f3e535d366f062f45cacef33 EBUILD easychem-0.6.ebuild 874 RMD160 2ca5f5a67ea76ef0698532c86f12858d5a11d026 SHA1 9eaaa45ec1c44fd9c17c98e42ab43ef41bad9225 SHA256 81d79b6e8d4284dec8799bef2a3fec508671d2784f76f21549752252880febd6 -MISC ChangeLog 2466 RMD160 7c4476e6f46477d14cd29c90802eecb48c0c5e82 SHA1 9d4a3a6713aeb313ff7747f5838dd42f759beca0 SHA256 fedcc0b30597426dc8eea04b7162fb34633db4a89d5bb435b6fa6bb6b0c267c3 +MISC ChangeLog 2671 RMD160 5ecc92b7c66fe9e747b41b0289d9b37cc1ff4ee4 SHA1 5a37bbfcfd1c8d99b7b4f0844b7935ec994446e6 SHA256 09ac1f805ab79e98ffa3d25f75741b9d12ed5a5d6049e6b7c5b1eb64fe32b3bb MISC metadata.xml 650 RMD160 042629db81e8c24b5098057907711039b225a90c SHA1 abcb861e411ba4646f73469e6b53d3251621979d SHA256 7741e6b37ec394337d9e59a86f2f78ee9f02a275269d201034630eeb49a347da -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAkwZ+UUACgkQgAnW8HDreRZajwCgl2Uzwcxt2mh8eC2tHbAX5XCo -ZtgAn36RJ7J3ft+g8nb4RWQ3VyMOOr8R -=+sUu +iEYEARECAAYFAkyoOQQACgkQgAnW8HDreRbbJACffxfR4U1XvRh2fZzehgtCrhLy +ec0AnAqcm5f8zrCFXzenFX0adwgx2TTP +=RIlR -----END PGP SIGNATURE----- diff --git a/sci-chemistry/easychem/easychem-0.6-r1.ebuild b/sci-chemistry/easychem/easychem-0.6-r1.ebuild new file mode 100644 index 000000000000..79434e9b09c7 --- /dev/null +++ b/sci-chemistry/easychem/easychem-0.6-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/easychem-0.6-r1.ebuild,v 1.1 2010/10/03 08:04:15 jlec Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="Chemical structure drawing program - focused on presentation." +HOMEPAGE="http://easychem.sourceforge.net/" +SRC_URI="mirror://sourceforge/easychem/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + >=x11-libs/gtk+-2.4.1 + app-text/ghostscript-gpl + media-gfx/pstoedit" +DEPEND="${RDEPEND} + dev-lang/perl + dev-util/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-gentoo.patch + tc-export CC +} + +src_compile() { + ln -s Makefile.linux Makefile + DGS_PATH="${EPREFIX}"/usr/bin DPSTOEDIT_PATH="${EPREFIX}"/usr/bin \ + C_FLAGS="${CFLAGS}" emake -e || die +} + +src_install () { + dobin easychem || die + dodoc TODO || die +} diff --git a/sci-chemistry/easychem/files/0.6-gentoo.patch b/sci-chemistry/easychem/files/0.6-gentoo.patch new file mode 100644 index 000000000000..9455d299c14d --- /dev/null +++ b/sci-chemistry/easychem/files/0.6-gentoo.patch @@ -0,0 +1,65 @@ +diff --git a/Makefile.linux b/Makefile.linux +index 6638394..5da56b0 100644 +--- a/Makefile.linux ++++ b/Makefile.linux +@@ -1,5 +1,5 @@ + # The C compiler +-CC=gcc ++CC ?= gcc + + # The following line must be uncommented if you want to specify a place + # where the 'gs' (or 'pstoedit') program is. +@@ -25,11 +25,10 @@ GTK_LIBS=`pkg-config --libs gtk+-2.0` + # The list of important files + OBJECTS=auxi.o bonds.o easychem.o export.o dialogs.o detect.o library.o drawing.o + +-all: easychem po/ ++all: easychem po + +-easychem: postscript/ graph/ $(OBJECTS) +- $(CC) -o easychem $(OBJECTS) $(GTK_LIBS) $(C_FLAGS) +- strip easychem ++easychem: postscript graph $(OBJECTS) ++ $(CC) $(C_FLAGS) $(LDFLAGS) -o easychem $(OBJECTS) $(GTK_LIBS) + + clean: FORCE + -cd graph; make clean +@@ -37,7 +36,7 @@ clean: FORCE + -cd po; make clean + -rm $(OBJECTS) easychem + +-export.o: export.c common.h bonds.h postscript/ ++export.o: export.c common.h bonds.h postscript + $(CC) $(GTK_FLAGS) $(C_FLAGS) -c export.c + bonds.o: bonds.c common.h bonds.h + $(CC) $(GTK_FLAGS) $(C_FLAGS) -c bonds.c +@@ -49,20 +48,22 @@ library.o: library.c common.h library.h + $(CC) $(GTK_FLAGS) $(C_FLAGS) -c library.c + drawing.o: drawing.c common.h drawing.h + $(CC) $(GTK_FLAGS) $(C_FLAGS) -c drawing.c +-dialogs.o: dialogs.c common.h dialogs.h graph/ ++dialogs.o: dialogs.c common.h dialogs.h graph + $(CC) $(GTK_FLAGS) $(C_FLAGS) -c dialogs.c + detect.o: detect.c common.h detect.h + $(CC) $(GTK_FLAGS) $(C_FLAGS) -c detect.c + + # The rules for subdirectories +-graph/: FORCE +- cd graph; make all ++graph: ++ +make -C $@ + +-postscript/: FORCE +- cd postscript; make all ++postscript: ++ +make -C $@ + +-po/: FORCE +- cd po; make all ++po: ++ +make -C $@ + + # This is used to force an update + FORCE: ++ ++.PHONY: graph postscript po |