/[gentoo-x86]/net-libs/ftplib/ftplib-4.0.ebuild
Gentoo

Contents of /net-libs/ftplib/ftplib-4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Mar 23 06:54:44 2014 UTC (6 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Update LICENSE to match source changes.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/ftplib/ftplib-4.0.ebuild,v 1.1 2014/03/23 06:28:12 vapier Exp $
4
5 EAPI=4
6 inherit eutils multilib toolchain-funcs versionator
7
8 DESCRIPTION="A set of routines that implement the FTP protocol"
9 HOMEPAGE="http://nbpfaus.net/~pfau/ftplib/"
10 SRC_URI="http://nbpfaus.net/~pfau/ftplib/${P}.tar.gz"
11
12 LICENSE="Artistic-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE=""
16
17 src_prepare() {
18 sed -i \
19 -e '/shared/s:$(CC):$(CC) $(LDFLAGS):' \
20 -e 's:/usr/local:$(DESTDIR)/usr:' \
21 -e '/^LDFLAGS/s:=:+=:' \
22 -e "s:/lib:/$(get_libdir):" \
23 -e '/ar -rcs/s:ar:$(AR):' \
24 src/Makefile || die
25 }
26
27 src_compile() {
28 tc-export AR CC
29 emake -C src DEBUG="${CFLAGS} ${CPPFLAGS}"
30 }
31
32 src_install() {
33 dodir /usr/bin /usr/include /usr/$(get_libdir)
34 emake -C src DESTDIR="${ED}" install
35 dodoc additional_rfcs CHANGES README* RFC959.txt
36 dohtml html/*
37 }

  ViewVC Help
Powered by ViewVC 1.1.20