diff options
Diffstat (limited to 'net-fs/curlftpfs/curlftpfs-0.9.2-r5.ebuild')
-rw-r--r-- | net-fs/curlftpfs/curlftpfs-0.9.2-r5.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-fs/curlftpfs/curlftpfs-0.9.2-r5.ebuild b/net-fs/curlftpfs/curlftpfs-0.9.2-r5.ebuild new file mode 100644 index 000000000000..284f5ac457c9 --- /dev/null +++ b/net-fs/curlftpfs/curlftpfs-0.9.2-r5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="File system for accessing ftp hosts based on FUSE" +HOMEPAGE="https://curlftpfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux" +RESTRICT="test" # bug 258460 + +RDEPEND=" + >=net-misc/curl-7.17.0 + >=sys-fs/fuse-2.2:0= + >=dev-libs/glib-2.0 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-64bit_filesize.patch + "${FILESDIR}"/${PN}-0.9.2-darwin.patch + "${FILESDIR}"/${PN}-0.9.2-memleak.patch + "${FILESDIR}"/${PN}-0.9.2-memleak-nocache.patch + "${FILESDIR}"/${PN}-0.9.2-fix-escaping.patch + "${FILESDIR}"/${PN}-0.9.2-__off_t.patch +) + +src_prepare() { + default + + # automake-1.13.1 obsoletes AM_* bit #469818 + sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die + + eautoreconf +} + +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/861299 + # https://sourceforge.net/p/curlftpfs/bugs/76/ + filter-lto + + default +} + +src_install() { + default + dodoc README +} |