summaryrefslogblamecommitdiff
path: root/user/ncftp/APKBUILD
blob: dd1a31d2174bf1d001040b7502df2f11f143e7d8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                             
          
                         
                                             
                                                              
 
         






                                       
                               



            
                                                         




                                                               
             





                                                                                                                                                                     
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=ncftp
pkgver=3.2.6
pkgrel=0
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
arch="all"
options="!check"  # No test suite.
license="ClArtistic"
depends=""
makedepends="ncurses-dev"
subpackages="$pkgname-doc $pkgname-bookmarks"
source="ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.gz"

build() {
	LIBS="-ltinfo" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man

	make -C libncftp shared
	make
}

package() {
	make PREFIX="${pkgdir}"/usr -C libncftp soinstall
	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="a2f8ac555bee8af4be1aa745ce5838beee99cd2253c1fe701b710ec135d7c47e2bf8b22ec928975ec2460919977d45a07fb12185ab58a2e96e3092039ffd3303  ncftp-3.2.6-src.tar.gz"