mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
48 lines
1.3 KiB
Text
48 lines
1.3 KiB
Text
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
pkgname=ncftp
|
|
pkgver=3.2.7
|
|
pkgrel=0
|
|
pkgdesc="A set of free application programs implementing FTP"
|
|
url="https://www.ncftp.com/"
|
|
# enable loongarch support when gcc14 builds are fixed
|
|
arch="all"
|
|
options="!check" # No test suite.
|
|
license="ClArtistic"
|
|
makedepends="ncurses-dev"
|
|
subpackages="$pkgname-doc $pkgname-bookmarks $pkgname-dev"
|
|
# upstream removed 3.2.7 from the website(?)
|
|
#source="https://www.ncftp.com/public_ftp/ncftp/ncftp-$pkgver-src.tar.xz"
|
|
source="https://dev.alpinelinux.org/archive/ncftp/ncftp-$pkgver-src.tar.xz"
|
|
|
|
build() {
|
|
CFLAGS="-fpermissive" ./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man
|
|
|
|
cd "$builddir"/libncftp
|
|
make shared
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/libncftp
|
|
make PREFIX="$pkgdir"/usr soinstall
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
install -D doc/LICENSE.txt \
|
|
"$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
|
|
}
|
|
|
|
bookmarks() {
|
|
mkdir -p "$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/usr/bin/ncftpbookmarks \
|
|
"$subpkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
b755385a57ac2487625c15985f091d9e1b71073b2593faffe1f2bbba34e691cfff9ffd8448b048f223ea08428e890f30c49a903e4f938393e3c0e4ae03ddab37 ncftp-3.2.7-src.tar.xz
|
|
"
|