You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/dailystrips/dailystrips-1.0.28-r2.ebuild

34 lines
934 B

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dailystrips/dailystrips-1.0.28-r2.ebuild,v 1.8 2007/01/24 18:45:58 eroyf Exp $
DESCRIPTION="dailystrips automatically downloads your favorite online comics from the web."
HOMEPAGE="http://dailystrips.sourceforge.net/"
SRC_URI="mirror://sourceforge/dailystrips/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc x86"
IUSE=""
RDEPEND=">=dev-perl/libwww-perl-5.50
dev-perl/DateTime
dev-perl/TimeDate"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "s:/usr/share/dailystrips/strips.def:/etc/strips.def:" \
dailystrips \
|| die "sed dailystrips failed"
}
src_install() {
dobin dailystrips dailystrips-clean dailystrips-update \
|| die "dobin failed"
dodoc BUGS CHANGELOG CONTRIBUTORS README* TODO
insinto /etc
doins strips.def || die "doins failed"
}