diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/cdcat | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/cdcat')
-rw-r--r-- | app-misc/cdcat/Manifest | 3 | ||||
-rw-r--r-- | app-misc/cdcat/cdcat-0.3.ebuild | 49 | ||||
-rw-r--r-- | app-misc/cdcat/metadata.xml | 5 |
3 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/cdcat/Manifest b/app-misc/cdcat/Manifest new file mode 100644 index 000000000000..b964640d32c6 --- /dev/null +++ b/app-misc/cdcat/Manifest @@ -0,0 +1,3 @@ +DIST cdcat-0.3.tar.gz 7464 BLAKE2B 24d0acce5bca9f84d24944e74a463ec64fee19a989ef89c187dc283d5c87dbdffb76e9471159903603c07924e0affef6f1b48dc7ab5e7292e5ae427510f7a259 SHA512 6d30a22c29a1846a3899f384bcc395444af77b62024cb9f45da877819614c3f1ff495e03f7d7b498716fe4725c569c88a14480a37fc4e4fef5cfd9a640e4cfa3 +EBUILD cdcat-0.3.ebuild 1220 BLAKE2B 9bdec6ac62b4c2c51dbf5a7652adf90c75d459d45e4969a5b1866523f427d671917f935de3fac4847fc413104de53071db3c9bb975c9a240cc9b53ffc5d778a5 SHA512 98d1f7c4a0bd7ca6c06cbedc6323f2d40cee757c66bc8a6e9d88a86a3f202428dd8f3a681f2d82bbe91b5fb7723d7d44fb29eb1d9cea02e6aebb99fd2f0a1743 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-misc/cdcat/cdcat-0.3.ebuild b/app-misc/cdcat/cdcat-0.3.ebuild new file mode 100644 index 000000000000..e97b12414768 --- /dev/null +++ b/app-misc/cdcat/cdcat-0.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +DESCRIPTION="simple yet effective CD indexing program" +# original src went away: SRC_URI="http://littledragon.home.ro/unix/${P}.tar.gz" +SRC_URI="mirror://gentoo/${P}.tar.gz" +HOMEPAGE="https://dev.gentoo.org/~centic/cdcat/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="virtual/cdrtools + !app-backup/cdbkup" + +src_unpack() { + unpack ${A} + cd "${S}" + + # workaround install.sh ignoring --man_prefix + sed -i 's:^MAN_PREFIX:#:' install.sh + + # fix path to cd index files to be FHS-compliant + sed -i 's:/mnt/ext/cd:/var/lib/cdcat:' src/cdcat.pl + + # work around problem with isoinfo -di + sed -i 's:isoinfo -di:isoinfo -d -i:' src/cdcat.pl +} + +src_install() { + # workaround install.sh ignoring --man_prefix + export MAN_PREFIX="${D}/usr/share/man" + dodir /usr/share/man/man1 + + # create index files path + dodir /var/lib/cdcat + chgrp cdrom "${D}"/var/lib/cdcat + chmod g+ws,o+w "${D}"/var/lib/cdcat + + # now use the included install.sh + ./install.sh --prefix="${D}/usr" \ + --man_prefix="${D}/usr/share/man" || die "Install script failed." + + insinto /etc + doins doc/cdcat.conf || die +} diff --git a/app-misc/cdcat/metadata.xml b/app-misc/cdcat/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-misc/cdcat/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |