void-packages/srcpkgs/libfetch/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

23 lines
645 B
Bash

# Template file for 'libfetch'
pkgname=libfetch
version=2.34
revision=9
build_style=gnu-makefile
makedepends="libressl-devel"
short_desc="File Transfer Library for URLs"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.NetBSD.org"
license="Modified BSD"
distfiles="http://repo.voidlinux.eu/distfiles/${pkgname}-${version}.tar.xz"
checksum=4e6d4541f213c9ab42ea94d49c2573f0a6f54b04f14668530960f1424b04f722
libfetch-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}