diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-05-07 10:32:10 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-05-07 10:32:10 -0400 |
commit | 5f8e1ee065b2ab82c2a8aa84d3ed8139b3637996 (patch) | |
tree | 3950fabdadc404d5cec7a24d8b3177aa09b4d497 /app-text/xapian-omega | |
parent | app-text/xapian-omega: add data, template, cdb and log dirs, bug # 581984 (diff) | |
download | gentoo-5f8e1ee065b2ab82c2a8aa84d3ed8139b3637996.tar.gz gentoo-5f8e1ee065b2ab82c2a8aa84d3ed8139b3637996.tar.bz2 gentoo-5f8e1ee065b2ab82c2a8aa84d3ed8139b3637996.zip |
app-text/xapian-omega: clean up the phases a bit
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text/xapian-omega')
-rw-r--r-- | app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild | 6 | ||||
-rw-r--r-- | app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild b/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild index 9b20f4056c67..1c2bada62079 100644 --- a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild +++ b/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild @@ -20,16 +20,14 @@ DEPEND="dev-libs/xapian:0/1.2.22 sys-libs/zlib" RDEPEND="${DEPEND}" -src_prepare() { - echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega -} - src_install () { emake DESTDIR="${D}" install #move docs to /usr/share/doc/${PF}. mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}" + # Protect /etc/omega.conf + echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega doenvd "${T}"/20xapian-omega dodoc AUTHORS ChangeLog INSTALL NEWS README TODO } diff --git a/app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild b/app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild index 0ec1697bd188..85772bb1e0bd 100644 --- a/app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild +++ b/app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild @@ -20,13 +20,11 @@ DEPEND="dev-libs/xapian:0/1.3.6 sys-libs/zlib" RDEPEND="${DEPEND}" -src_prepare() { - echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega -} - src_install () { emake DESTDIR="${D}" install + # Protect /etc/omega.conf + echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega doenvd "${T}"/20xapian-omega dodoc AUTHORS ChangeLog INSTALL NEWS README TODO |