/[gentoo-x86]/app-misc/cdcat/cdcat-0.3.ebuild
Gentoo

Contents of /app-misc/cdcat/cdcat-0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Fri Jan 1 18:04:53 2010 UTC (8 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +11 -11 lines
fix quoting
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/cdcat/cdcat-0.3.ebuild,v 1.13 2006/09/22 13:30:21 centic Exp $
4
5 DESCRIPTION="simple yet effective CD indexing program"
6 # original src went away: SRC_URI="http://littledragon.home.ro/unix/${P}.tar.gz"
7 SRC_URI="mirror://gentoo/${P}.tar.gz"
8 HOMEPAGE="http://dev.gentoo.org/~centic/cdcat/"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="amd64 ppc x86"
13 IUSE=""
14
15 DEPEND=">=sys-apps/sed-4.0.5
16 >=sys-apps/grep-2.4.2
17 >=sys-apps/findutils-4.1
18 virtual/cdrtools
19 !app-backup/cdbkup"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24
25 # workaround install.sh ignoring --man_prefix
26 sed -i 's:^MAN_PREFIX:#:' install.sh
27
28 # fix path to cd index files to be FHS-compliant
29 sed -i 's:/mnt/ext/cd:/var/lib/cdcat:' src/cdcat.pl
30
31 # work around problem with isoinfo -di
32 sed -i 's:isoinfo -di:isoinfo -d -i:' src/cdcat.pl
33 }
34
35 src_install() {
36 # workaround install.sh ignoring --man_prefix
37 export MAN_PREFIX="${D}/usr/share/man"
38 dodir /usr/share/man/man1
39
40 # create index files path
41 dodir /var/lib/cdcat
42 chgrp cdrom "${D}"/var/lib/cdcat
43 chmod g+ws,o+w "${D}"/var/lib/cdcat
44
45 # now use the included install.sh
46 ./install.sh --prefix="${D}/usr" \
47 --man_prefix="${D}/usr/share/man" || die "Install script failed."
48
49 insinto /etc
50 doins doc/cdcat.conf || die
51 }

  ViewVC Help
Powered by ViewVC 1.1.20