diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/ftplib/ftplib-4.0.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/ftplib/ftplib-4.0.ebuild')
-rw-r--r-- | net-libs/ftplib/ftplib-4.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-libs/ftplib/ftplib-4.0.ebuild b/net-libs/ftplib/ftplib-4.0.ebuild new file mode 100644 index 000000000000..11dcd2fe2bd0 --- /dev/null +++ b/net-libs/ftplib/ftplib-4.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils multilib toolchain-funcs versionator + +DESCRIPTION="A set of routines that implement the FTP protocol" +HOMEPAGE="http://nbpfaus.net/~pfau/ftplib/" +SRC_URI="http://nbpfaus.net/~pfau/ftplib/${P}.tar.gz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + sed -i \ + -e '/shared/s:$(CC):$(CC) $(LDFLAGS):' \ + -e 's:/usr/local:$(DESTDIR)/usr:' \ + -e '/^LDFLAGS/s:=:+=:' \ + -e "s:/lib:/$(get_libdir):" \ + -e '/ar -rcs/s:ar:$(AR):' \ + src/Makefile || die +} + +src_compile() { + tc-export AR CC + emake -C src DEBUG="${CFLAGS} ${CPPFLAGS}" +} + +src_install() { + dodir /usr/bin /usr/include /usr/$(get_libdir) + emake -C src DESTDIR="${ED}" install + dodoc additional_rfcs CHANGES README* RFC959.txt + dohtml html/* +} |