diff options
-rw-r--r-- | sci-mathematics/htk/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/htk/files/include_make_destdir.patch | 73 | ||||
-rw-r--r-- | sci-mathematics/htk/htk-3.4.1.ebuild | 55 | ||||
-rw-r--r-- | sci-mathematics/htk/metadata.xml | 19 |
4 files changed, 0 insertions, 149 deletions
diff --git a/sci-mathematics/htk/Manifest b/sci-mathematics/htk/Manifest deleted file mode 100644 index c9f41b030..000000000 --- a/sci-mathematics/htk/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST HDecode-3.4.1.tar.gz 101930 SHA256 9517b25a91200e3e84ebed0d615f73715196dbfaf32ef854c2e964442175bee5 -DIST HTK-3.4.1.tar.gz 2101024 SHA256 42297b036ce3a47adeab26aaa42f51ac4b370ead7f53bab75fd27a52d38ae5ac diff --git a/sci-mathematics/htk/files/include_make_destdir.patch b/sci-mathematics/htk/files/include_make_destdir.patch deleted file mode 100644 index 55ea2c773..000000000 --- a/sci-mathematics/htk/files/include_make_destdir.patch +++ /dev/null @@ -1,73 +0,0 @@ -diff -Naur htk.old//HLMTools/Makefile.in htk//HLMTools/Makefile.in ---- htk.old//HLMTools/Makefile.in 2009-03-11 07:07:18.000000000 -0300 -+++ htk//HLMTools/Makefile.in 2011-09-02 18:46:15.452348315 -0300 -@@ -71,9 +71,9 @@ - -rm -f *.o $(PROGS) Makefile *.exe - - install: mkinstalldir $(PROGS) -- for program in $(PROGS) ; do $(INSTALL) -m 755 $${program}@BINARY_EXTENSION@ $(bindir) ; done -+ for program in $(PROGS) ; do $(INSTALL) -m 755 $${program}@BINARY_EXTENSION@ $(DESTDIR)$(bindir) ; done - - mkinstalldir: -- if [ ! -d $(bindir) -a X_@TRADHTK@ = X_yes ] ; then mkdir -p $(bindir) ; fi -+ if [ ! -d $(DESTDIR)$(bindir) -a X_@TRADHTK@ = X_yes ] ; then mkdir -p $(DESTDIR)$(bindir) ; fi - - .PHONY: all strip clean cleanup distclean install mkinstalldir -diff -Naur htk.old//HTKLVRec/Makefile.in htk//HTKLVRec/Makefile.in ---- htk.old//HTKLVRec/Makefile.in 2009-03-11 06:56:05.000000000 -0300 -+++ htk//HTKLVRec/Makefile.in 2011-09-02 18:44:40.072737063 -0300 -@@ -112,11 +112,11 @@ - -rm -f *.o HDecode HDecode.mod Makefile - - install: mkinstalldir -- $(INSTALL) -m 755 HDecode $(bindir) -- $(INSTALL) -m 755 HDecode.mod $(bindir) -+ $(INSTALL) -m 755 HDecode $(DESTDIR)$(bindir) -+ $(INSTALL) -m 755 HDecode.mod $(DESTDIR)$(bindir) - - mkinstalldir: -- -mkdir -p $(bindir) -+ -mkdir -p $(DESTDIR)$(bindir) - - .PHONY: std mod all strip clean cleanup distclean install mkinstalldir - -diff -Naur htk.old//HTKTools/Makefile.in htk//HTKTools/Makefile.in ---- htk.old//HTKTools/Makefile.in 2009-03-11 09:50:53.000000000 -0300 -+++ htk//HTKTools/Makefile.in 2011-09-02 18:45:41.423059972 -0300 -@@ -73,10 +73,10 @@ - -rm -f *.o $(PROGS) *.exe Makefile - - install: mkinstalldir $(PROGS) -- for program in $(PROGS) ; do $(INSTALL) -m 755 $${program} $(bindir) ; done -+ for program in $(PROGS) ; do $(INSTALL) -m 755 $${program} $(DESTDIR)$(bindir) ; done - - mkinstalldir: -- if [ ! -d $(bindir) ] ; then mkdir $(bindir) ; fi -+ if [ ! -d $(DESTDIR)$(bindir) ] ; then mkdir -p $(DESTDIR)$(bindir) ; fi - - - .PHONY: all strip clean cleanup distclean install mkinstalldir -diff -Naur htk.old//Makefile.in htk//Makefile.in ---- htk.old//Makefile.in 2009-03-11 07:08:06.000000000 -0300 -+++ htk//Makefile.in 2011-09-02 18:44:40.073737098 -0300 -@@ -119,16 +119,16 @@ - - # installation - install-htktools: htktools -- (cd $(HTKTOOLS) && $(MAKE) install) \ -+ (cd $(HTKTOOLS) && $(MAKE) DESTDIR=$(DESTDIR) install) \ - || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; - install-hlmtools: hlmtools -- (cd $(HLMTOOLS) && $(MAKE) install) \ -+ (cd $(HLMTOOLS) && $(MAKE) DESTDIR=$(DESTDIR) install) \ - || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; - install-hdecode: -- (cd $(LVREC) && $(MAKE) install) \ -+ (cd $(LVREC) && $(MAKE) DESTDIR=$(DESTDIR) install) \ - || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; - install-book: book -- (cd $(HTKBOOK) && $(MAKE) install) \ -+ (cd $(HTKBOOK) && $(MAKE) DESTDIR=$(DESTDIR) install) \ - || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; - - clean: diff --git a/sci-mathematics/htk/htk-3.4.1.ebuild b/sci-mathematics/htk/htk-3.4.1.ebuild deleted file mode 100644 index 08da48a4b..000000000 --- a/sci-mathematics/htk/htk-3.4.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="Toolkit for building and manipulating hidden Markov models" -HOMEPAGE="http://htk.eng.cam.ac.uk/" -SRC_URI=" - http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz -> HTK-3.4.1.tar.gz - hdecode? ( - http://htk.eng.cam.ac.uk/ftp/software/hdecode/HDecode-3.4.1.tar.gz -> HDecode-3.4.1.tar.gz - )" -HDECODE_HOME="http://htk.eng.cam.ac.uk/extensions/index.shtml" - -LICENSE="HTKCambridge hdecode? ( HDecodeCambridge )" -SLOT="0" -KEYWORDS="~amd64" -IUSE="-hlmtools -hslab -htkbook -hdecode" - -RESTRICT="fetch" - -S="${WORKDIR}/${PN}" - -pkg_nofetch() { - elog "Please download" - elog " - HTK-3.4.1.tar.gz" - elog "from ${HOMEPAGE}" - if use hdecode; then - elog " - HDecode-3.4.1.tar.gz" - elog "from ${HDECODE_HOME}" - fi - elog "and place them in ${DISTDIR}" -} - -src_prepare() { - epatch "${FILESDIR}/include_make_destdir.patch" -} - -src_configure() { - econf \ - $(use_enable hlmtools) \ - $(use_enable hslab) \ - $(use_enable htkbook) \ - $(use_enable hdecode) -} - -src_compile() { - if use hlmtools || use hdecode; then - emake -j1 - else - default - fi -} diff --git a/sci-mathematics/htk/metadata.xml b/sci-mathematics/htk/metadata.xml deleted file mode 100644 index c948fe4f4..000000000 --- a/sci-mathematics/htk/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>pedosb@gmail.com</email> - <name>Pedro Batista</name> - </maintainer> - <maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <longdescription>The Hidden Markov Model Toolkit (HTK) is a portable toolkit for building and manipulating hidden Markov models</longdescription> - <use> - <flag name="hlmtools">Install the tools for manipulation of language models</flag> - <flag name="hdecode">Install HDecode, a large vocabulary word recogniser</flag> - <flag name="htkbook">Build the HTK documentation (HTK Book)</flag> - <flag name="hslab">Install HSLab a label editor for speech label manipulation</flag> - </use> -</pkgmetadata> |