1 |
commit: 8e74910a7e6e40a7418f7def98f94403f11714cc |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 4 08:29:10 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 4 08:29:10 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e74910a |
7 |
|
8 |
app-misc/cdcat: Drop old |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
app-misc/cdcat/cdcat-0.3.ebuild | 49 ----------------------------------------- |
14 |
1 file changed, 49 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/cdcat/cdcat-0.3.ebuild b/app-misc/cdcat/cdcat-0.3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 6f165bb146e..00000000000 |
19 |
--- a/app-misc/cdcat/cdcat-0.3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,49 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=0 |
26 |
- |
27 |
-DESCRIPTION="simple yet effective CD indexing program" |
28 |
-# original src went away: SRC_URI="http://littledragon.home.ro/unix/${P}.tar.gz" |
29 |
-SRC_URI="mirror://sourceforge/cdcatalog/${P}.tar.gz" |
30 |
-HOMEPAGE="http://cdcatalog.sourceforge.net/" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="amd64 ppc x86" |
35 |
-IUSE="" |
36 |
- |
37 |
-DEPEND="virtual/cdrtools |
38 |
- !app-backup/cdbkup" |
39 |
- |
40 |
-src_unpack() { |
41 |
- unpack ${A} |
42 |
- cd "${S}" |
43 |
- |
44 |
- # workaround install.sh ignoring --man_prefix |
45 |
- sed -i 's:^MAN_PREFIX:#:' install.sh |
46 |
- |
47 |
- # fix path to cd index files to be FHS-compliant |
48 |
- sed -i 's:/mnt/ext/cd:/var/lib/cdcat:' src/cdcat.pl |
49 |
- |
50 |
- # work around problem with isoinfo -di |
51 |
- sed -i 's:isoinfo -di:isoinfo -d -i:' src/cdcat.pl |
52 |
-} |
53 |
- |
54 |
-src_install() { |
55 |
- # workaround install.sh ignoring --man_prefix |
56 |
- export MAN_PREFIX="${D}/usr/share/man" |
57 |
- dodir /usr/share/man/man1 |
58 |
- |
59 |
- # create index files path |
60 |
- dodir /var/lib/cdcat |
61 |
- chgrp cdrom "${D}"/var/lib/cdcat |
62 |
- chmod g+ws,o+w "${D}"/var/lib/cdcat |
63 |
- |
64 |
- # now use the included install.sh |
65 |
- ./install.sh --prefix="${D}/usr" \ |
66 |
- --man_prefix="${D}/usr/share/man" || die "Install script failed." |
67 |
- |
68 |
- insinto /etc |
69 |
- doins doc/cdcat.conf || die |
70 |
-} |