summaryrefslogtreecommitdiff
path: root/sci-biology/sibsim4
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/sibsim4')
-rw-r--r--sci-biology/sibsim4/Manifest3
-rw-r--r--sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch26
-rw-r--r--sci-biology/sibsim4/sibsim4-0.20.ebuild19
3 files changed, 33 insertions, 15 deletions
diff --git a/sci-biology/sibsim4/Manifest b/sci-biology/sibsim4/Manifest
index fc049c6f28a9..805e39d3ab00 100644
--- a/sci-biology/sibsim4/Manifest
+++ b/sci-biology/sibsim4/Manifest
@@ -1,3 +1,4 @@
+AUX sibsim4-0.20-makefile.patch 603 BLAKE2B 1d5bf536aec1c8d6716a2feeefc19d9397c8a8446899d40bdc58abe577ed5b4e7234b21bd428a831fcccd9ed0cdf6da70e9fda0db3070e3d51506b91b4324d01 SHA512 d434cf369ec418e29df7d34b139acf06182d84d1e83a7aaafe2d5df2ee49884ff86ad7fd5b6697108e7d1dea865652c8755459ff4ec0ae6395b1ec8c46126e55
DIST SIBsim4-0.20.tar.gz 32118 BLAKE2B 79b1f080d547732ee6a5996885c26f422f8a1590fa37d525f35cfa3dee353fd36ce9aa4677fe7e570f43e8283c26541c8c9e76ca03788a66d1c356adb3d649d5 SHA512 3802520095e83d3c691804b661696095a4198c4b2a16385c55ccdc8e4e836f82cc9c2251a5d37cb5918c2ee80aeb81737d751e6b065fbfe9c64f1aee3e0ea0c8
-EBUILD sibsim4-0.20.ebuild 639 BLAKE2B fa9d2b944f158ce6fea94566603e796a58f12fbdff8d94057f6e378bbd7e2cc251a7b38047af227284630157e9dd917128c852738f91a5bbfea79b3bad1aa4e3 SHA512 ef670faca5998f05252622a170e9faa3748b55a10af9a0556a49ef912cdd2e1d985100001846033da0708479112321557a34fb20ccb1b3e82149a79b2da92195
+EBUILD sibsim4-0.20.ebuild 518 BLAKE2B 0999e252ed6713e462f04dfa6d1ee0c48982ff614b54aa4126fae1ab4bcb615153abcef38806a193e32bce14daf9d7b22ff71a86d005b7c222b497dd7aff23be SHA512 903d8d9a98e31197a9018cb13d255a7ce7ca2cfc94d40f4fe8ee793ef2f8e7736907a6f37633b900b02430a842fae11e55ad1880e551807dc40e8069c2aff59f
MISC metadata.xml 348 BLAKE2B 4765b3098d0a6ac9ac1f5677bc13ab1e767d4beb7d9fd02adedab808382a80ab9ad0acf994783bfbfd66fbb5c580459f569215426d713b8c385054586387012b SHA512 9628452f960b9837192126173a46e916bfa1f16421a470166ce3812d7e8d455a2f8eb5ba78ccb6f52e5d0acbbc009f31f0eabd5619bc864790c258220333aba0
diff --git a/sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch b/sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch
new file mode 100644
index 000000000000..6436747e3dd9
--- /dev/null
+++ b/sci-biology/sibsim4/files/sibsim4-0.20-makefile.patch
@@ -0,0 +1,26 @@
+--- a/Makefile
++++ b/Makefile
+@@ -21,13 +21,12 @@
+ # to change it to this:
+ # CFLAGS = -Xc
+
+-CFLAGS = -std=gnu99 -W -Wall -Wconversion -pedantic $(DEBUG) $(OPT)
++CFLAGS += -std=gnu99 -Wall -Wconversion -pedantic
+
+
+ # The default is GCC. On Solaris, you might put:
+ # CC = /opt/SUNWspro/bin/cc
+
+-CC = gcc
+
+
+ # Depending on the compile flags you use, you might need to explicitly use the
+@@ -42,7 +41,7 @@
+ OBJS = sim4b1.o align.o misc.o sim4.init.o
+
+ sim4: $(OBJS)
+- $(CC) -o SIBsim4 $(CFLAGS) $(OBJS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o SIBsim4 $(OBJS) $(LIBS)
+
+ clean:
+ rm -f SIBsim4 *.o
diff --git a/sci-biology/sibsim4/sibsim4-0.20.ebuild b/sci-biology/sibsim4/sibsim4-0.20.ebuild
index bf431c666920..679cb462e045 100644
--- a/sci-biology/sibsim4/sibsim4-0.20.ebuild
+++ b/sci-biology/sibsim4/sibsim4-0.20.ebuild
@@ -1,31 +1,22 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit toolchain-funcs
DESCRIPTION="A rewrite and improvement upon sim4, a DNA-mRNA aligner"
HOMEPAGE="http://sibsim4.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/SIBsim4-${PV}.tar.gz"
+S="${WORKDIR}/SIBsim4-${PV}"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
KEYWORDS="amd64 x86"
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}/SIBsim4-${PV}"
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
-src_prepare() {
- sed \
- -e 's/CFLAGS = /CFLAGS +=/' \
- -e '/^CC/s:=:?=:' \
- -e '/^OPT/d' \
- -e "s:-o:${LDFLAGS} -o:g" \
- -i "${S}/Makefile" || die
+src_configure() {
tc-export CC
}