void-packages/srcpkgs/perl-Net-SSH2/template

21 lines
690 B
Bash

# Template file for 'perl-Net-SSH2'
pkgname=perl-Net-SSH2
version=0.62
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
configure_args="inc=${XBPS_CROSS_BASE}/usr/include lib=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="perl"
makedepends="perl libssh2-devel"
depends="perl"
short_desc="Net::SSH2 - Support for the SSH 2 protocol via libssh2"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Net-SSH2"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Net/Net-SSH2-${version}.tar.gz"
checksum=f603edb08d6a9ab30251c8f2eb3b540d6e711fbcf6b61f7a43334ecc4d08e6ce
post_configure() {
sed -i 's/-mtune=generic//g' Makefile
}