/[gentoo-x86]/app-misc/bins/bins-1.1.29.ebuild
Gentoo

Contents of /app-misc/bins/bins-1.1.29.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Sat Apr 19 15:10:02 2014 UTC (7 months, 1 week ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
app-misc/bins removal (bug #250971)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/bins/bins-1.1.29.ebuild,v 1.16 2014/01/17 14:40:12 jer Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Static HTML photo album generator"
8 HOMEPAGE="http://bins.sautret.org/"
9 SRC_URI="http://zubro.chez.tiscali.fr/BINS/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86"
14 IUSE=""
15
16 DEPEND=">=dev-lang/perl-5.6.1-r6
17 >=media-gfx/imagemagick-6.2.2.0
18 >=dev-perl/ImageSize-2.99
19 >=dev-perl/ImageInfo-1.04-r1
20 >=dev-perl/IO-String-1.01-r1
21 >=dev-perl/HTML-Clean-0.8
22 >=dev-perl/HTML-Parser-3.26-r1
23 >=dev-perl/HTML-Template-2.6
24 >=dev-perl/Locale-gettext-1.01
25 >=virtual/perl-Storable-2.04
26 >=dev-perl/Text-Iconv-1.2
27 >=dev-perl/URI-1.18
28 >=dev-perl/libxml-perl-0.07-r1
29 dev-perl/Text-Unaccent
30 >=dev-perl/XML-DOM-1.39-r1
31 >=dev-perl/XML-Grove-0.46_alpha
32 >=dev-perl/XML-Handler-YAWriter-0.23
33 >=dev-perl/XML-XQL-0.67
34 dev-perl/TimeDate
35 >=sys-apps/sed-4"
36
37 src_unpack() {
38 unpack ${A}
39 cd "${S}"
40 epatch "${FILESDIR}"/${P}-install.patch
41 sed -i -e 's|MAN="\$PREFIX/man/man1"|MAN="${D}usr/share/man/man1"|' "${S}"/install.sh
42 }
43
44 src_install() {
45 echo "" | DESTDIR="${D}" PREFIX="/usr" ./install.sh || die
46 # Fix for pathing
47 for i in `grep -l portage "${D}"/usr/bin/*`; do
48 sed -i -e "s:${D}:/:" ${i}
49 done
50 for i in `grep -l "usr\/local\/share" "${D}"/usr/bin/*`; do
51 sed -i -e "s:usr\/local\/share:usr\/share:" ${i}
52 done
53
54 }
55
56 pkg_postinst() {
57 ewarn
58 ewarn "A new XML format is use for pictures and albums description files in"
59 ewarn "BINS 1.1.0. There is a utility bins_txt2xml to convert from old"
60 ewarn "format to new one."
61 ewarn "WARNING: make a backup of your album before proceding to the"
62 ewarn "migration, just in case something goes wrong."
63 ewarn
64 }

  ViewVC Help
Powered by ViewVC 1.1.20