diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/sary |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/sary')
-rw-r--r-- | app-text/sary/Manifest | 5 | ||||
-rw-r--r-- | app-text/sary/metadata.xml | 16 | ||||
-rw-r--r-- | app-text/sary/sary-1.2.0-r1.ebuild | 41 |
3 files changed, 62 insertions, 0 deletions
diff --git a/app-text/sary/Manifest b/app-text/sary/Manifest new file mode 100644 index 000000000000..c638da329e8b --- /dev/null +++ b/app-text/sary/Manifest @@ -0,0 +1,5 @@ +DIST sary-1.2.0.tar.gz 393787 SHA256 d4b16e32c97a253b546922d2926c8600383352f0af0d95e2938b6d846dfc6a11 SHA512 0eeae82a384970b4d96f7a0ca3929e74d17b8b3ebc61459ec9fc7172e61c3835ffe2de8aaab7ebd64f54be24d39f6734949ebc98758c28cec299b3bd25020632 WHIRLPOOL 0a63d5a507da154588228e18c777eaca251888b7b67342c31775d6f1d8b0c9f877b2e79be473807ab08dc4d9cb87779cac3bdd8290a64333b3507b65583ac7d2 +EBUILD sary-1.2.0-r1.ebuild 950 SHA256 a5621f07bd8726c84cd92d0357bf566343b95492426fe9c081a0429d8cc76320 SHA512 74713f39515aec6da7df7664755243d28c339313c1de070824d2ef05a1deb50309ead443bdad9e490da891b92ed0daaa181f9cadb6337a38c9192c6772a7c83c WHIRLPOOL 027d5a54ed78f506ba8b1482664583f374e54510c8f54340376aae0de84146e60aff034eba2c48a4059f0e030bcbaa0f1d52d297efefdf2171bb7c3b677e0c09 +MISC ChangeLog 2970 SHA256 4f05a344ead5bae3adcbcbd583e3434110c6909aa79f4a024261e6c7ad2d55e9 SHA512 34f6b2ad3a5228d94ff711fceaff7415b11c4e26f4cf119f8093f575ed717555563471f7a60f64f2980627019928934130d32b9a7853fa8b794ca1a8cb858ef7 WHIRLPOOL 5d19f20cd3888afba5b8a4d65d95202dfb9f787c60743ffd701f55e06d8a13061cc37831480189b108cff673c9a61fcd574075157f10fc3fb6cf9f6deeddc31f +MISC ChangeLog-2015 4674 SHA256 a57a106e0b0bf10b30a6fef40f86db65e17271c7afb734e420228c33eadbf40d SHA512 fc09e53f12511ddfc1af57aecc9464a8a28a518460e7cbd990d3160888800ae2848989965987d6f1ff5b0a59eabce7ce45dc2dd183c9f40a9e9e9989d1155db4 WHIRLPOOL a89eb0aa8cfa444a2e0929199abbbaef565569dc499cbe3528f52add46825e0cb6f756f6b68d296a3f467545a38d5332f1c3437dea2007d98ff0cc562287d3ca +MISC metadata.xml 614 SHA256 bac721d7f0677b2a5c101a074f858ac31d2d7b4f7d960cc068fa3eb77f106005 SHA512 ef381dbe030d43e46f5b8aaf13c0783cb1a215bb2961793d75500712fd491983e2df30eb838eb504432d2cc844b7e064d0f96c0efd67d190295496b8cc082a15 WHIRLPOOL 690c3eeb1520160192b3581ee5a10e30c6218e137fed69e5f6fefd71072ccba09c5c114f37adea0b9ac005d81cc9ced1d2bd86cb354c7ac1e35f2544ae6f36ad diff --git a/app-text/sary/metadata.xml b/app-text/sary/metadata.xml new file mode 100644 index 000000000000..c7ef82c510d5 --- /dev/null +++ b/app-text/sary/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <longdescription>Sary is a suffix array library and tools. It provides +fast full-text search facilities for text files on the order of 10 to +100 MB using a data structure called a suffix array. It can also +search specific fields in a text file by assigning index points to +those fields.</longdescription> + <upstream> + <remote-id type="sourceforge">sary</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/sary/sary-1.2.0-r1.ebuild b/app-text/sary/sary-1.2.0-r1.ebuild new file mode 100644 index 000000000000..1155888702a7 --- /dev/null +++ b/app-text/sary/sary-1.2.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit autotools + +DESCRIPTION="Sary: suffix array library and tools" +HOMEPAGE="http://sary.sourceforge.net/" +SRC_URI="http://sary.sourceforge.net/${P}.tar.gz" +IUSE="static-libs" + +LICENSE="LGPL-2.1" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +SLOT="0" +RESTRICT="test" + +RDEPEND="dev-libs/glib:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + echo "libsary_la_LIBADD = @GLIB_LIBS@" >> sary/Makefile.am || die + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die + eautoreconf +} +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" \ + docsdir="${EPREFIX}"/usr/share/doc/${PF}/html \ + install + + dodoc AUTHORS ChangeLog NEWS README TODO + + if ! use static-libs ; then + find "${ED}" -name '*.la' -delete + fi + +} |